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.001691/0.001691, allocations: 96.42 kB / 20.44 MB, free: 1.398 MB / 14.72 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.002166/0.002166, allocations: 218.9 kB / 23.75 MB, free: 4.555 MB / 14.72 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.481/1.481, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.219/0.219, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 71.91 kB / 468.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1378, allocations: 61.03 MB / 0.5173 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001826/0.1396, allocations: 0.4949 MB / 0.5178 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.143, allocations: 1.987 MB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.143, allocations: 4 kB / 0.5198 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.143, allocations: 0 / 0.5198 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.919e-05/0.143, allocations: 0 / 0.5198 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1444, allocations: 382.8 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.954e-05/0.1444, allocations: 3.938 kB / 0.5201 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.1445, allocations: 4 kB / 0.5201 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.1445, allocations: 0 / 0.5201 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02046/0.1649, allocations: 3.382 MB / 0.5235 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.165, allocations: 0 / 0.5235 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1651, allocations: 8 kB / 0.5235 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1651, allocations: 4 kB / 0.5235 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.1651, allocations: 0 / 0.5235 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1653, allocations: 4 kB / 0.5235 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1653, allocations: 3.938 kB / 0.5235 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1653, allocations: 4 kB / 0.5235 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1653, allocations: 0 / 0.5235 GB, free: 492 kB / 398.1 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.0003729/0.1657, allocations: 254.3 kB / 0.5237 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1657, allocations: 8.031 kB / 0.5237 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.1659, allocations: 88.2 kB / 0.5238 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1661, allocations: 177.8 kB / 0.524 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.1662, allocations: 150.9 kB / 0.5241 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.1663, allocations: 154.7 kB / 0.5243 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.988e-05/0.1664, allocations: 112.9 kB / 0.5244 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.1664, allocations: 75.28 kB / 0.5244 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.1665, allocations: 154.6 kB / 0.5246 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/0.1666, allocations: 150.6 kB / 0.5247 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.1667, allocations: 158.5 kB / 0.5249 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.167, allocations: 397.6 kB / 0.5253 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1671, allocations: 169.1 kB / 0.5254 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.1672, allocations: 80.14 kB / 0.5255 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.1672, allocations: 75.28 kB / 0.5256 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.348e-05/0.1673, allocations: 113.8 kB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1673, allocations: 3.938 kB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.1674, allocations: 25.7 kB / 0.5257 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.1675, allocations: 182.1 kB / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1676, allocations: 97.86 kB / 0.526 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1677, allocations: 25.7 kB / 0.526 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.1677, allocations: 84.12 kB / 0.5261 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.1677, allocations: 3.984 kB / 0.5261 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1678, allocations: 13.72 kB / 0.5261 GB, free: 13.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1679, allocations: 310.8 kB / 0.5264 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.1679, allocations: 0 / 0.5264 GB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.168, allocations: 65.12 kB / 0.5265 GB, free: 13.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.168, allocations: 75.28 kB / 0.5265 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-05/0.1681, allocations: 83.44 kB / 0.5266 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.216e-05/0.1682, allocations: 41.58 kB / 0.5267 GB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.1682, allocations: 79.28 kB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/0.1683, allocations: 79.27 kB / 0.5268 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.491e-05/0.1683, allocations: 162.4 kB / 0.527 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.132e-05/0.1684, allocations: 75.28 kB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-05/0.1685, allocations: 150.6 kB / 0.5272 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1686, allocations: 87.27 kB / 0.5273 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.1686, allocations: 75.28 kB / 0.5273 GB, free: 12.31 MB / 414.1 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.0001887/0.1688, allocations: 264.4 kB / 0.5276 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1689, allocations: 116.8 kB / 0.5277 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.169, allocations: 108 kB / 0.5278 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/0.1691, allocations: 180.2 kB / 0.528 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.834e-05/0.1692, allocations: 176.3 kB / 0.5281 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-05/0.1693, allocations: 184.3 kB / 0.5283 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1696, allocations: 352.8 kB / 0.5286 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.1697, allocations: 105 kB / 0.5287 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.1697, allocations: 105.2 kB / 0.5288 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.697e-05/0.1698, allocations: 180.2 kB / 0.529 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.1699, allocations: 184.3 kB / 0.5292 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001109/0.17, allocations: 196.2 kB / 0.5294 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001184/0.1702, allocations: 176.3 kB / 0.5296 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1704, allocations: 311.8 kB / 0.5299 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.1705, allocations: 112.9 kB / 0.53 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1706, allocations: 184.1 kB / 0.5301 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1707, allocations: 105 kB / 0.5302 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1708, allocations: 180.2 kB / 0.5304 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.1709, allocations: 105 kB / 0.5305 GB, free: 8.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.1709, allocations: 79.28 kB / 0.5306 GB, free: 8.793 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1709, allocations: 0 / 0.5306 GB, free: 8.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.1712, allocations: 96 / 0.5306 GB, free: 8.793 MB / 414.1 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 0.0001546/0.1714, allocations: 174.5 kB / 0.5307 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.1715, allocations: 4 kB / 0.5308 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.1715, allocations: 0 / 0.5308 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1715, allocations: 3.938 kB / 0.5308 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.172, allocations: 459.6 kB / 0.5312 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.1723, allocations: 181.8 kB / 0.5314 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.1724, allocations: 59.34 kB / 0.5314 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.1724, allocations: 7.438 kB / 0.5314 GB, free: 7.852 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1724, allocations: 4 kB / 0.5314 GB, free: 7.848 MB / 414.1 MB Notification: Performance of Templates: time 0.002452/0.1749, allocations: 371.6 kB / 0.5318 GB, free: 7.484 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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: 7.774376179091632]