Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008725/0.0008725, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001071/0.001071, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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 0.9416/0.9416, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.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.1424/0.1424, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.741e-05, allocations: 6.25 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001067/0.001085, allocations: 0.5407 MB / 299.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1445/0.1455, allocations: 2.043 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1456, allocations: 0 / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.1456, allocations: 3.438 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.064e-05/0.1456, allocations: 2.953 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1468, allocations: 334 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.1468, allocations: 6.219 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.1469, allocations: 3.109 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.1469, allocations: 5.844 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.1576, allocations: 4.856 MB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1576, allocations: 0 / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.607e-05/0.1577, allocations: 13.55 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1577, allocations: 0 / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.1577, allocations: 1.062 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1578, allocations: 7.406 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1578, allocations: 0.6562 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1578, allocations: 0 / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1579, allocations: 5.75 kB / 306.9 MB, free: 16.99 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0001709/0.158, allocations: 231.9 kB / 307.1 MB, free: 16.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1581, allocations: 10.34 kB / 307.1 MB, free: 16.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1582, allocations: 90.36 kB / 307.2 MB, free: 16.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.263e-05/0.1583, allocations: 183.8 kB / 307.4 MB, free: 16.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1583, allocations: 152.6 kB / 307.5 MB, free: 16.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1583, allocations: 152.4 kB / 307.7 MB, free: 16.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.484e-05/0.1583, allocations: 102.7 kB / 307.8 MB, free: 16.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1583, allocations: 76.5 kB / 307.9 MB, free: 16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1584, allocations: 155.8 kB / 308 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.1584, allocations: 150.6 kB / 308.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.1584, allocations: 163.3 kB / 308.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.939e-05/0.1585, allocations: 355.7 kB / 308.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.1585, allocations: 167.5 kB / 308.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.1585, allocations: 84.94 kB / 308.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1586, allocations: 77.78 kB / 309 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1586, allocations: 108.4 kB / 309.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1586, allocations: 0 / 309.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.865e-05/0.1586, allocations: 32.28 kB / 309.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1587, allocations: 183.9 kB / 309.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.1587, allocations: 104.5 kB / 309.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.1587, allocations: 26.98 kB / 309.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.1587, allocations: 81.52 kB / 309.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-07/0.1587, allocations: 0 / 309.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.1588, allocations: 15.8 kB / 309.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.97e-05/0.1588, allocations: 312.8 kB / 309.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-06/0.1588, allocations: 0 / 309.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.1588, allocations: 65 kB / 309.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-06/0.1588, allocations: 76.5 kB / 310 MB, free: 13.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1588, allocations: 75.28 kB / 310.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.141e-05/0.1589, allocations: 38.72 kB / 310.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1589, allocations: 80.78 kB / 310.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1589, allocations: 77.5 kB / 310.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1589, allocations: 156.6 kB / 310.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-06/0.1589, allocations: 79.33 kB / 310.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1589, allocations: 160.9 kB / 310.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.159, allocations: 90.42 kB / 310.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.159, allocations: 76.66 kB / 310.8 MB, free: 13 MB / 282.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 4.945e-05/0.159, allocations: 260.1 kB / 311.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1591, allocations: 107.8 kB / 311.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.1591, allocations: 110.6 kB / 311.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.1591, allocations: 178 kB / 311.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/0.1591, allocations: 189.7 kB / 311.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.1591, allocations: 182.2 kB / 311.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.081e-05/0.1592, allocations: 317 kB / 312.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.1592, allocations: 102.8 kB / 312.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.1592, allocations: 106.9 kB / 312.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/0.1593, allocations: 179.3 kB / 312.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.1593, allocations: 178.6 kB / 312.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/0.1593, allocations: 185.5 kB / 312.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-05/0.1593, allocations: 178.5 kB / 313 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.979e-05/0.1594, allocations: 311.4 kB / 313.3 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.1594, allocations: 107.1 kB / 313.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1594, allocations: 183.6 kB / 313.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.1595, allocations: 103.4 kB / 313.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1595, allocations: 189.2 kB / 313.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1595, allocations: 103.2 kB / 314 MB, free: 9.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.428e-05/0.1595, allocations: 6.859 kB / 314 MB, free: 9.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1595, allocations: 0 / 314 MB, free: 9.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.1597, allocations: 1.594 kB / 314 MB, free: 9.668 MB / 282.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 8.999e-05/0.1598, allocations: 153.4 kB / 314.2 MB, free: 9.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.458e-05/0.1598, allocations: 5.141 kB / 314.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1598, allocations: 1.125 kB / 314.2 MB, free: 9.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1598, allocations: 3.938 kB / 314.2 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.16, allocations: 465.3 kB / 314.6 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001371/0.1601, allocations: 156.3 kB / 314.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.562e-05/0.1601, allocations: 52.86 kB / 314.8 MB, free: 8.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.1602, allocations: 4.984 kB / 314.8 MB, free: 8.816 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.1602, allocations: 56.89 kB / 314.9 MB, free: 8.77 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1602, allocations: 4 kB / 314.9 MB, free: 8.766 MB / 282.7 MB Notification: Performance of Templates: time 0.001993/0.1622, allocations: 369.3 kB / 315.2 MB, free: 8.695 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8017393271438777]