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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 104.3 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3295/0.3295, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 52.16 kB / 429.2 MB, free: 6.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1181, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002229/0.1204, allocations: 0.5464 MB / 487.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.1236, allocations: 2.097 MB / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.341e-05/0.1236, allocations: 0 / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.1236, allocations: 0 / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.972e-05/0.1237, allocations: 0 / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1248, allocations: 291.3 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.703e-05/0.1248, allocations: 0 / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.1249, allocations: 4 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.1249, allocations: 3.984 kB / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04018/0.1651, allocations: 3.208 MB / 493.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1651, allocations: 0 / 493.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.1652, allocations: 8 kB / 493.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.1653, allocations: 0 / 493.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1653, allocations: 4 kB / 493.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1654, allocations: 11.97 kB / 493.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1655, allocations: 3.938 kB / 493.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1655, allocations: 0 / 493.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1655, allocations: 0 / 493.2 MB, free: 6.43 MB / 378.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.0003479/0.1659, allocations: 311.6 kB / 493.5 MB, free: 6.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1659, allocations: 16.03 kB / 493.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.1661, allocations: 88.11 kB / 493.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1662, allocations: 239.6 kB / 493.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.1663, allocations: 150.9 kB / 494 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.1663, allocations: 162.6 kB / 494.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.756e-05/0.1664, allocations: 109 kB / 494.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.1664, allocations: 79.28 kB / 494.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.1665, allocations: 150.6 kB / 494.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.1666, allocations: 150.6 kB / 494.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.1666, allocations: 154.5 kB / 494.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.1669, allocations: 457.9 kB / 495.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.167, allocations: 165.1 kB / 495.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.167, allocations: 84.08 kB / 495.4 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.167, allocations: 75.28 kB / 495.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.1671, allocations: 105.8 kB / 495.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.1671, allocations: 4 kB / 495.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.454e-05/0.1672, allocations: 37.62 kB / 495.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.1673, allocations: 182.1 kB / 495.8 MB, free: 3.562 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.1674, allocations: 89.86 kB / 495.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1674, allocations: 25.7 kB / 495.9 MB, free: 3.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.1674, allocations: 84.14 kB / 496 MB, free: 3.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.1674, allocations: 0 / 496 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1674, allocations: 9.719 kB / 496 MB, free: 3.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.1675, allocations: 315 kB / 496.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-06/0.1676, allocations: 4 kB / 496.3 MB, free: 3.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.1676, allocations: 9.719 kB / 496.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.1676, allocations: 83.27 kB / 496.4 MB, free: 2.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.1676, allocations: 75.28 kB / 496.5 MB, free: 2.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.476e-05/0.1677, allocations: 37.58 kB / 496.5 MB, free: 2.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.1677, allocations: 79.28 kB / 496.6 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.1678, allocations: 83.31 kB / 496.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.933e-05/0.1678, allocations: 150.6 kB / 496.9 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.1679, allocations: 79.22 kB / 496.9 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.502e-05/0.1679, allocations: 150.6 kB / 497.1 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.168, allocations: 87.2 kB / 497.2 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.168, allocations: 79.28 kB / 497.2 MB, free: 2.098 MB / 378.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.0001059/0.1682, allocations: 260.4 kB / 497.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1682, allocations: 116.9 kB / 497.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.1683, allocations: 108 kB / 497.7 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/0.1683, allocations: 176.3 kB / 497.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.838e-05/0.1684, allocations: 192.1 kB / 498.1 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.494e-05/0.1685, allocations: 184.3 kB / 498.3 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.1687, allocations: 401.1 kB / 498.6 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.1688, allocations: 105 kB / 498.7 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.1688, allocations: 105 kB / 498.9 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.874e-05/0.1689, allocations: 180.2 kB / 499 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-05/0.169, allocations: 184.3 kB / 499.2 MB, free: 16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-05/0.169, allocations: 180.2 kB / 499.4 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.178e-05/0.1691, allocations: 180.3 kB / 499.6 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.1695, allocations: 0.8414 MB / 0.4887 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.1696, allocations: 186 kB / 0.4888 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.1697, allocations: 184.7 kB / 0.489 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.1698, allocations: 108.9 kB / 0.4891 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.1699, allocations: 180.2 kB / 0.4893 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.1699, allocations: 101 kB / 0.4894 GB, free: 13.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.325e-05/0.17, allocations: 87.22 kB / 0.4895 GB, free: 13.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.986e-06/0.17, allocations: 0 / 0.4895 GB, free: 13.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.1703, allocations: 3.938 kB / 0.4895 GB, free: 13.84 MB / 394.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 0.0001185/0.1705, allocations: 174.5 kB / 0.4897 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.308e-05/0.1705, allocations: 8.016 kB / 0.4897 GB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1705, allocations: 0 / 0.4897 GB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1705, allocations: 0 / 0.4897 GB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1709, allocations: 0.526 MB / 0.4902 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.1712, allocations: 158 kB / 0.4903 GB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1714, allocations: 0.6731 MB / 0.491 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.1714, allocations: 0 / 0.491 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-06/0.1714, allocations: 7.438 kB / 0.491 GB, free: 12.23 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1714, allocations: 3.938 kB / 0.491 GB, free: 12.23 MB / 394.7 MB Notification: Performance of Templates: time 0.001854/0.1733, allocations: 304.6 kB / 0.4913 GB, free: 11.93 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches