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.001399/0.001399, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008633/0.0008633, allocations: 86.64 kB / 261.7 MB, free: 1.613 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.2127/0.2127, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.521e-05, allocations: 7.984 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5371, allocations: 86.6 MB / 0.5505 GB, free: 8.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5374, allocations: 67.88 kB / 0.5506 GB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.5533, allocations: 7.007 MB / 0.5574 GB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5533, allocations: 0 / 0.5574 GB, free: 2.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.5533, allocations: 0 / 0.5574 GB, free: 2.832 MB / 362.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.0003076/0.5536, allocations: 408.8 kB / 0.5578 GB, free: 2.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5537, allocations: 16.03 kB / 0.5578 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.5539, allocations: 87.27 kB / 0.5579 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.554, allocations: 238.3 kB / 0.5581 GB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.554, allocations: 152 kB / 0.5583 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.554, allocations: 154.5 kB / 0.5584 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.342e-05/0.5541, allocations: 154.5 kB / 0.5585 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.862e-05/0.5541, allocations: 109 kB / 0.5587 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5541, allocations: 75.28 kB / 0.5587 GB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.5542, allocations: 154.5 kB / 0.5589 GB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.5542, allocations: 150.6 kB / 0.559 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.5544, allocations: 426.5 kB / 0.5594 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.5544, allocations: 165.1 kB / 0.5596 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.5545, allocations: 88.08 kB / 0.5597 GB, free: 380 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.5545, allocations: 78.47 kB / 0.5597 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.5545, allocations: 113.8 kB / 0.5598 GB, free: 180 kB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.5545, allocations: 4 kB / 0.5599 GB, free: 176 kB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.502e-05/0.5546, allocations: 25.7 kB / 0.5599 GB, free: 144 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.5546, allocations: 106.9 kB / 0.56 GB, free: 12 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.5547, allocations: 85 kB / 0.5601 GB, free: 15.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5548, allocations: 25.7 kB / 0.5601 GB, free: 15.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.5548, allocations: 80.14 kB / 0.5602 GB, free: 15.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.5548, allocations: 0 / 0.5602 GB, free: 15.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/0.5548, allocations: 0 / 0.5602 GB, free: 15.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.555, allocations: 322.9 kB / 0.5605 GB, free: 15.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.555, allocations: 0 / 0.5605 GB, free: 15.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.555, allocations: 17.66 kB / 0.5605 GB, free: 15.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.555, allocations: 75.28 kB / 0.5606 GB, free: 15.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/0.5551, allocations: 75.28 kB / 0.5606 GB, free: 15.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.56e-05/0.5551, allocations: 37.64 kB / 0.5607 GB, free: 15.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.5552, allocations: 79.28 kB / 0.5607 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/0.5552, allocations: 83.25 kB / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.333e-05/0.5553, allocations: 159.2 kB / 0.561 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.5553, allocations: 75.28 kB / 0.561 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.998e-05/0.5554, allocations: 150.6 kB / 0.5612 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.5555, allocations: 87.2 kB / 0.5613 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.5555, allocations: 79.03 kB / 0.5613 GB, free: 14.57 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.5557, allocations: 255.5 kB / 0.5616 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.5557, allocations: 108.9 kB / 0.5617 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.5558, allocations: 108.7 kB / 0.5618 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.029e-05/0.5559, allocations: 180.2 kB / 0.562 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/0.556, allocations: 184.2 kB / 0.5621 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-05/0.556, allocations: 184.2 kB / 0.5623 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.5563, allocations: 377.2 kB / 0.5627 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.5563, allocations: 102.2 kB / 0.5628 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.5564, allocations: 116.9 kB / 0.5629 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.908e-05/0.5564, allocations: 176.3 kB / 0.5631 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.5565, allocations: 176.3 kB / 0.5632 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.589e-05/0.5566, allocations: 188.2 kB / 0.5634 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.315e-05/0.5566, allocations: 176.3 kB / 0.5636 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.5568, allocations: 307.1 kB / 0.5639 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.5569, allocations: 182.1 kB / 0.564 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.5569, allocations: 180.7 kB / 0.5642 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5571, allocations: 112.9 kB / 0.5643 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.5571, allocations: 184 kB / 0.5645 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.5572, allocations: 101 kB / 0.5646 GB, free: 11.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.5572, allocations: 75.28 kB / 0.5647 GB, free: 10.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.863e-06/0.5572, allocations: 4 kB / 0.5647 GB, free: 10.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.5577, allocations: 138.9 kB / 0.5648 GB, free: 10.85 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008408/0.5585, allocations: 0.5046 MB / 0.5653 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.274e-05/0.5586, allocations: 3.984 kB / 0.5653 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5586, allocations: 0 / 0.5653 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5586, allocations: 4 kB / 0.5653 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.5589, allocations: 0.5299 MB / 0.5658 GB, free: 9.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000164/0.5591, allocations: 115.4 kB / 0.5659 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.5593, allocations: 0.6767 MB / 0.5666 GB, free: 9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.983e-05/0.5593, allocations: 4 kB / 0.5666 GB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.5593, allocations: 7.438 kB / 0.5666 GB, free: 8.988 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5593, allocations: 0 / 0.5666 GB, free: 8.988 MB / 378.7 MB Notification: Performance of Templates: time 0.005186/0.5645, allocations: 2.528 MB / 0.5691 GB, free: 6.484 MB / 378.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/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