Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.0009841/0.0009841, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.00119/0.00119, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.17/0.17, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 323.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.58e-05, allocations: 8.781 kB / 323.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001375/0.001401, allocations: 0.5328 MB / 323.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.004092, allocations: 2.132 MB / 325.9 MB, free: 104 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.004114, allocations: 4 kB / 325.9 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.00413, allocations: 0 / 325.9 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.22e-05/0.004152, allocations: 0 / 325.9 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.005378, allocations: 358.4 kB / 326.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.589e-05/0.005424, allocations: 0 / 326.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.005465, allocations: 8 kB / 326.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.005503, allocations: 0 / 326.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.01649, allocations: 4.855 MB / 331.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.01651, allocations: 0 / 331.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.01661, allocations: 19.98 kB / 331.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.01662, allocations: 0 / 331.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.01664, allocations: 0 / 331.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.01676, allocations: 4 kB / 331.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01676, allocations: 0 / 331.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.01676, allocations: 7.984 kB / 331.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.01677, allocations: 0 / 331.1 MB, free: 12.01 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002013/0.01697, allocations: 216.7 kB / 331.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.017, allocations: 11.98 kB / 331.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.01716, allocations: 92.19 kB / 331.5 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.01725, allocations: 189 kB / 331.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.0173, allocations: 150.9 kB / 331.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.01734, allocations: 150.9 kB / 331.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.996e-05/0.0174, allocations: 109.5 kB / 332 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.01743, allocations: 79.22 kB / 332.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.01748, allocations: 150.6 kB / 332.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.01752, allocations: 150.6 kB / 332.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.01757, allocations: 158.5 kB / 332.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.01777, allocations: 353.3 kB / 332.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.01785, allocations: 173.1 kB / 333.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.01787, allocations: 80.14 kB / 333.2 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.01789, allocations: 79.28 kB / 333.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.01793, allocations: 109.8 kB / 333.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.01793, allocations: 0 / 333.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 6.057e-05/0.01799, allocations: 29.64 kB / 333.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.01806, allocations: 190 kB / 333.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.01813, allocations: 102.7 kB / 333.7 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.01814, allocations: 29.64 kB / 333.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.01816, allocations: 80.14 kB / 333.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.92e-07/0.01817, allocations: 0 / 333.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.01819, allocations: 13.72 kB / 333.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.01828, allocations: 315 kB / 334.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.01828, allocations: 0 / 334.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.01833, allocations: 65.12 kB / 334.2 MB, free: 8.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.01835, allocations: 79.28 kB / 334.2 MB, free: 8.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.01837, allocations: 79.27 kB / 334.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.374e-05/0.01841, allocations: 33.64 kB / 334.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.01844, allocations: 79.33 kB / 334.4 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.01847, allocations: 83.28 kB / 334.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.721e-05/0.01851, allocations: 154.5 kB / 334.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.019e-05/0.01853, allocations: 75.28 kB / 334.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-05/0.01858, allocations: 166.5 kB / 334.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.01865, allocations: 83.2 kB / 335 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.01867, allocations: 75.28 kB / 335 MB, free: 7.906 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 0.000102/0.01877, allocations: 260.4 kB / 335.3 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.01881, allocations: 108.9 kB / 335.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.01885, allocations: 108 kB / 335.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/0.01891, allocations: 176.3 kB / 335.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.592e-05/0.01896, allocations: 196.1 kB / 335.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-05/0.01901, allocations: 176.3 kB / 336 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.01916, allocations: 321.4 kB / 336.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/0.01919, allocations: 105 kB / 336.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.01923, allocations: 108.9 kB / 336.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-05/0.01927, allocations: 180.3 kB / 336.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.01932, allocations: 176.3 kB / 336.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.417e-05/0.01936, allocations: 180.2 kB / 337.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-05/0.01941, allocations: 184.6 kB / 337.3 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.01953, allocations: 315.7 kB / 337.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.01956, allocations: 105 kB / 337.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.01962, allocations: 180.2 kB / 337.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.01967, allocations: 109 kB / 338 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.01973, allocations: 184.2 kB / 338.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.01976, allocations: 105 kB / 338.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.342e-05/0.01977, allocations: 8.797 kB / 338.3 MB, free: 4.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01977, allocations: 4 kB / 338.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.01991, allocations: 3.938 kB / 338.3 MB, free: 4.508 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 9.848e-05/0.02001, allocations: 147.7 kB / 338.4 MB, free: 4.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.846e-05/0.02005, allocations: 4 kB / 338.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.02005, allocations: 4 kB / 338.4 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.02005, allocations: 3.938 kB / 338.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.02027, allocations: 463.8 kB / 338.9 MB, free: 3.883 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.02042, allocations: 157.6 kB / 339 MB, free: 3.699 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.829e-05/0.02045, allocations: 51.36 kB / 339.1 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.879e-05/0.02047, allocations: 4 kB / 339.1 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.02052, allocations: 55.36 kB / 339.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02052, allocations: 0 / 339.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of Templates: time 0.00178/0.0223, allocations: 384.2 kB / 339.5 MB, free: 3.207 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9426846001297235]