Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 79.58 kB / 21.25 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 162.5 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 84.16 kB / 443.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3303, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.0037/0.334, allocations: 2.488 MB / 0.4997 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3351, allocations: 0.6928 MB / 0.5004 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.3352, allocations: 10.72 kB / 0.5004 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.3354, allocations: 45.14 kB / 0.5004 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.3356, allocations: 91.02 kB / 0.5005 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.3358, allocations: 99.12 kB / 0.5006 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.3361, allocations: 340.7 kB / 0.5009 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3363, allocations: 58.59 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.3365, allocations: 137.4 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.3367, allocations: 121.1 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.3367, allocations: 25.44 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.1e-05/0.3368, allocations: 29.59 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.3368, allocations: 52.59 kB / 0.5013 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.3369, allocations: 117.5 kB / 0.5014 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.3373, allocations: 306.4 kB / 0.5017 GB, free: 26.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3373, allocations: 0 / 0.5017 GB, free: 26.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3373, allocations: 0 / 0.5017 GB, free: 26.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3373, allocations: 3.031 kB / 0.5017 GB, free: 26.94 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008906/0.3382, allocations: 0.5347 MB / 0.5023 GB, free: 26.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3382, allocations: 9.5 kB / 0.5023 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.3385, allocations: 49.2 kB / 0.5023 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.3388, allocations: 212.8 kB / 0.5025 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3389, allocations: 22.44 kB / 0.5025 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.3389, allocations: 31.83 kB / 0.5026 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.3393, allocations: 278.3 kB / 0.5028 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.3394, allocations: 10.7 kB / 0.5028 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3394, allocations: 11.31 kB / 0.5028 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3394, allocations: 6.531 kB / 0.5029 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.3398, allocations: 189.2 kB / 0.503 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.3413, allocations: 1.148 MB / 0.5042 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.3417, allocations: 235.2 kB / 0.5044 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3419, allocations: 103.7 kB / 0.5045 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.342, allocations: 3.094 kB / 0.5045 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.342, allocations: 41.44 kB / 0.5045 GB, free: 24.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.342, allocations: 0 / 0.5045 GB, free: 24.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002153/0.3442, allocations: 1.204 MB / 0.5057 GB, free: 24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3442, allocations: 134.4 kB / 0.5058 GB, free: 23.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3444, allocations: 235.8 kB / 0.5061 GB, free: 23.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3444, allocations: 36.67 kB / 0.5061 GB, free: 23.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3445, allocations: 174.9 kB / 0.5063 GB, free: 23.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.3445, allocations: 120.6 kB / 0.5064 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.3446, allocations: 73.25 kB / 0.5064 GB, free: 23.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.3447, allocations: 339.4 kB / 0.5068 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.3449, allocations: 95.7 kB / 0.5069 GB, free: 23.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.3451, allocations: 246 kB / 0.5071 GB, free: 22.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.3456, allocations: 371.7 kB / 0.5074 GB, free: 22.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3456, allocations: 7.125 kB / 0.5074 GB, free: 22.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006167/0.3463, allocations: 399.9 kB / 0.5078 GB, free: 22.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3463, allocations: 6.625 kB / 0.5078 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3463, allocations: 6.438 kB / 0.5078 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3463, allocations: 6.281 kB / 0.5078 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.3466, allocations: 104.5 kB / 0.5079 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3467, allocations: 10.56 kB / 0.508 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3469, allocations: 28.27 kB / 0.508 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3469, allocations: 16.06 kB / 0.508 GB, free: 22.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.347, allocations: 144.9 kB / 0.5081 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/0.3471, allocations: 40.03 kB / 0.5082 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.3471, allocations: 31.52 kB / 0.5082 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3471, allocations: 3.438 kB / 0.5082 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3471, allocations: 3.938 kB / 0.5082 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3471, allocations: 10.19 kB / 0.5082 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.3483, allocations: 0.8714 MB / 0.5091 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3483, allocations: 3.25 kB / 0.5091 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.3486, allocations: 80.64 kB / 0.5092 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3486, allocations: 2.969 kB / 0.5092 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3486, allocations: 11.06 kB / 0.5092 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3486, allocations: 6.75 kB / 0.5092 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3486, allocations: 7.031 kB / 0.5092 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.3494, allocations: 0.7414 MB / 0.5099 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3495, allocations: 25.34 kB / 0.5099 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.3495, allocations: 7.312 kB / 0.5099 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.3498, allocations: 23.08 kB / 0.51 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.3499, allocations: 37.67 kB / 0.51 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3499, allocations: 10.12 kB / 0.51 GB, free: 20.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.35, allocations: 158.3 kB / 0.5102 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.35, allocations: 0 / 0.5102 GB, free: 20.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004604/0.3504, allocations: 73 kB / 0.5102 GB, free: 20.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.034e-05/0.3505, allocations: 107 kB / 0.5103 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.351, allocations: 271.1 kB / 0.5106 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.351, allocations: 3.125 kB / 0.5106 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.3513, allocations: 123.1 kB / 0.5107 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.3519, allocations: 42.19 kB / 0.5107 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.353, allocations: 0.8734 MB / 0.5116 GB, free: 20 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3532, allocations: 163 kB / 0.5118 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.3533, allocations: 33.02 kB / 0.5118 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.3534, allocations: 32.08 kB / 0.5118 GB, free: 19.89 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3534, allocations: 0 / 0.5118 GB, free: 19.89 MB / 446.1 MB Notification: Performance of Templates: time 0.006386/0.3597, allocations: 2.371 MB / 0.5141 GB, free: 19.57 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.058878930984065]