Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.00189, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007113/0.0007113, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000931/0.001642, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.02/1.02, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.135/1.155, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.158/0.158, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01973/0.1778, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.215e-05, allocations: 6.25 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003192/0.003214, allocations: 2.65 MB / 270 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004327, allocations: 0.7134 MB / 270.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.004461, allocations: 7.938 kB / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.838e-05/0.004559, allocations: 43.52 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.004694, allocations: 91.14 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.004858, allocations: 87.81 kB / 271 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.005131, allocations: 346.4 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.005274, allocations: 52.11 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.005518, allocations: 224.1 kB / 271.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.005646, allocations: 91.7 kB / 271.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.005682, allocations: 24 kB / 271.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.005712, allocations: 20 kB / 271.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.005754, allocations: 43.81 kB / 271.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.005816, allocations: 79.81 kB / 271.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.006037, allocations: 195.2 kB / 272 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.00605, allocations: 0 / 272 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006051, allocations: 0 / 272 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.006063, allocations: 0 / 272 MB, free: 13.9 MB / 282.7 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.0006241/0.006687, allocations: 0.5463 MB / 272.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.006721, allocations: 12.03 kB / 272.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.006776, allocations: 44.91 kB / 272.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.006979, allocations: 193 kB / 272.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.006995, allocations: 20.81 kB / 272.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.007036, allocations: 36.31 kB / 272.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.007269, allocations: 230.3 kB / 273.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.007281, allocations: 192 / 273.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.007296, allocations: 12.38 kB / 273.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.007305, allocations: 11.94 kB / 273.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.007402, allocations: 83.78 kB / 273.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.008183, allocations: 1.006 MB / 274.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.008343, allocations: 166.2 kB / 274.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.008392, allocations: 59.81 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.008408, allocations: 4 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.00843, allocations: 46.55 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.052e-06/0.008431, allocations: 0 / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009168/0.009348, allocations: 0.8318 MB / 275.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.009394, allocations: 140.4 kB / 275.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.009508, allocations: 217 kB / 275.6 MB, free: 9.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.009523, allocations: 29.7 kB / 275.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.009585, allocations: 164.5 kB / 275.8 MB, free: 9.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.009639, allocations: 122.9 kB / 276 MB, free: 9.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.0097, allocations: 74.16 kB / 276 MB, free: 9.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003344/0.01003, allocations: 338.8 kB / 276.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.01008, allocations: 28.98 kB / 276.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.01018, allocations: 166.2 kB / 276.5 MB, free: 8.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.01037, allocations: 265 kB / 276.8 MB, free: 8.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01037, allocations: 8 kB / 276.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000213/0.01058, allocations: 213.1 kB / 277 MB, free: 8.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.0106, allocations: 15.92 kB / 277 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01061, allocations: 4 kB / 277 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01062, allocations: 8.406 kB / 277 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.01083, allocations: 111.9 kB / 277.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.01084, allocations: 11.88 kB / 277.2 MB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.01092, allocations: 27.94 kB / 277.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01094, allocations: 12 kB / 277.2 MB, free: 8.191 MB / 282.7 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 7.598e-05/0.01101, allocations: 129.7 kB / 277.3 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.01107, allocations: 35.91 kB / 277.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01111, allocations: 33.77 kB / 277.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01112, allocations: 4 kB / 277.4 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01112, allocations: 7.938 kB / 277.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01112, allocations: 4 kB / 277.4 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.01167, allocations: 0.6509 MB / 278.1 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01167, allocations: 4 kB / 278.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.01185, allocations: 75.89 kB / 278.1 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.01188, allocations: 31.78 kB / 278.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.01188, allocations: 4 kB / 278.2 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01189, allocations: 8.062 kB / 278.2 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.0119, allocations: 11.94 kB / 278.2 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.0119, allocations: 0 / 278.2 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.01219, allocations: 0.53 MB / 278.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01221, allocations: 4.188 kB / 278.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.01233, allocations: 19.98 kB / 278.8 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.01239, allocations: 32.12 kB / 278.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.01239, allocations: 4 kB / 278.8 MB, free: 6.547 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.01244, allocations: 70.78 kB / 278.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01244, allocations: 0 / 278.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.01271, allocations: 72 kB / 278.9 MB, free: 6.402 MB / 282.7 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.249e-05/0.01279, allocations: 93 kB / 279 MB, free: 6.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.01297, allocations: 169.5 kB / 279.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.01298, allocations: 5.219 kB / 279.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.01308, allocations: 96.62 kB / 279.3 MB, free: 6.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.01351, allocations: 286.5 kB / 279.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.01583, allocations: 0.6094 MB / 280.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.693e-05/0.0159, allocations: 100.9 kB / 280.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.479e-05/0.01598, allocations: 35.66 kB / 280.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.01609, allocations: 95.36 kB / 280.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01609, allocations: 0 / 280.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of Templates: time 0.003951/0.02004, allocations: 2.381 MB / 282.8 MB, free: 2.426 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9483726676553488]