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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000852/0.000852, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 177.8 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 223.1 MB, free: 5.188 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3578/0.3578, allocations: 43.57 MB / 315 MB, free: 9.215 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006128/0.0006127, allocations: 19.22 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0008496/0.1339, allocations: 216.4 kB / 443.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.1371, allocations: 2.063 MB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.183e-05/0.1371, allocations: 0 / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1371, allocations: 0 / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.1e-05/0.1372, allocations: 4 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.138, allocations: 287.3 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.31e-05/0.1381, allocations: 0 / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1381, allocations: 4 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.1381, allocations: 0 / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03332/0.1715, allocations: 3.207 MB / 449.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.1715, allocations: 0 / 449.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1717, allocations: 4 kB / 449.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1717, allocations: 0 / 449.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1717, allocations: 29.7 kB / 449.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1719, allocations: 8 kB / 449.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1719, allocations: 0 / 449.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1719, allocations: 0 / 449.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1719, allocations: 0 / 449.3 MB, free: 7.113 MB / 382.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.0004069/0.1723, allocations: 311.6 kB / 449.6 MB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.1724, allocations: 12.03 kB / 449.6 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.1727, allocations: 84.2 kB / 449.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1729, allocations: 247.6 kB / 449.9 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.1729, allocations: 154.9 kB / 450 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.173, allocations: 162.7 kB / 450.2 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.608e-05/0.1731, allocations: 108.9 kB / 450.3 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.1731, allocations: 75.28 kB / 450.4 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.1732, allocations: 150.6 kB / 450.5 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/0.1733, allocations: 150.6 kB / 450.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.1733, allocations: 150.6 kB / 450.8 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.1737, allocations: 453.9 kB / 451.3 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.309e-05/0.1738, allocations: 169.1 kB / 451.4 MB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.1739, allocations: 84.08 kB / 451.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.1739, allocations: 75.28 kB / 451.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.336e-05/0.174, allocations: 113.8 kB / 451.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.174, allocations: 0 / 451.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001045/0.1741, allocations: 29.64 kB / 451.7 MB, free: 4.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.1742, allocations: 186 kB / 451.9 MB, free: 4.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1744, allocations: 93.86 kB / 452 MB, free: 4.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1744, allocations: 29.69 kB / 452 MB, free: 4.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.1745, allocations: 84.12 kB / 452.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.1745, allocations: 0 / 452.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.1745, allocations: 9.844 kB / 452.1 MB, free: 4.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1747, allocations: 314.8 kB / 452.4 MB, free: 3.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.1747, allocations: 0 / 452.4 MB, free: 3.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.1747, allocations: 13.72 kB / 452.4 MB, free: 3.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.1748, allocations: 75.28 kB / 452.5 MB, free: 3.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.636e-05/0.1748, allocations: 75.28 kB / 452.6 MB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.031e-05/0.1749, allocations: 41.58 kB / 452.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.175, allocations: 79.28 kB / 452.7 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.175, allocations: 79.31 kB / 452.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.224e-05/0.1751, allocations: 158.5 kB / 452.9 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.1752, allocations: 79.22 kB / 453 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.898e-05/0.1753, allocations: 150.6 kB / 453.2 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1754, allocations: 79.22 kB / 453.2 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.1754, allocations: 79.28 kB / 453.3 MB, free: 2.785 MB / 382.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.0001577/0.1756, allocations: 264.4 kB / 453.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.1757, allocations: 108.9 kB / 453.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.1757, allocations: 112.1 kB / 453.8 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.949e-05/0.1758, allocations: 180.3 kB / 454 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-05/0.1759, allocations: 184.2 kB / 454.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.176, allocations: 192.2 kB / 454.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1762, allocations: 401.2 kB / 454.7 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/0.1763, allocations: 104.9 kB / 454.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.1763, allocations: 101 kB / 454.9 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.194e-05/0.1764, allocations: 184.2 kB / 455.1 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/0.1764, allocations: 188.2 kB / 455.3 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.727e-05/0.1765, allocations: 176.3 kB / 455.5 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.94e-05/0.1766, allocations: 180.2 kB / 455.6 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.249/0.4257, allocations: 307.7 kB / 455.9 MB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.4258, allocations: 182 kB / 456.1 MB, free: 47.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.4258, allocations: 185.1 kB / 456.3 MB, free: 47.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4259, allocations: 105.7 kB / 456.4 MB, free: 47.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.426, allocations: 177.8 kB / 456.6 MB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.426, allocations: 112 kB / 456.7 MB, free: 46.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.997e-05/0.4261, allocations: 76.8 kB / 456.8 MB, free: 46.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4261, allocations: 2.219 kB / 456.8 MB, free: 46.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.4264, allocations: 3.094 kB / 456.8 MB, free: 46.91 MB / 382.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.0001011/0.4265, allocations: 171.8 kB / 456.9 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.8e-05/0.4266, allocations: 3.406 kB / 456.9 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4266, allocations: 3.188 kB / 456.9 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.4266, allocations: 0 / 456.9 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.4269, allocations: 0.5337 MB / 457.5 MB, free: 46.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001491/0.4271, allocations: 144.4 kB / 457.6 MB, free: 46.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.4272, allocations: 0.6704 MB / 458.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.4272, allocations: 5.844 kB / 458.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-06/0.4272, allocations: 9.734 kB / 458.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4272, allocations: 0 / 458.3 MB, free: 45.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002211/0.4294, allocations: 279 kB / 458.6 MB, free: 45.34 MB / 382.1 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/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