Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.997/1.997, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001128/0.001128, allocations: 100.3 kB / 270.9 MB, free: 8.395 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.522/0.522, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007016/0.0007015, allocations: 8 kB / 431.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1668, allocations: 58.85 MB / 490.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.6443, allocations: 87.36 MB / 0.564 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.6447, allocations: 67.97 kB / 0.5641 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03158/0.6763, allocations: 7.07 MB / 0.571 GB, free: 8.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.663e-06/0.6763, allocations: 0 / 0.571 GB, free: 8.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.6764, allocations: 3.938 kB / 0.571 GB, free: 8.305 MB / 394.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.0006016/0.677, allocations: 423.8 kB / 0.5714 GB, free: 7.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.677, allocations: 12.03 kB / 0.5714 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.6774, allocations: 87.27 kB / 0.5715 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.6775, allocations: 238.7 kB / 0.5717 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.6776, allocations: 150.6 kB / 0.5719 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.6777, allocations: 158.6 kB / 0.572 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.6778, allocations: 108.6 kB / 0.5721 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.6778, allocations: 75.28 kB / 0.5722 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.6779, allocations: 150.6 kB / 0.5723 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/0.678, allocations: 150.6 kB / 0.5725 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.678, allocations: 155.5 kB / 0.5726 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.6784, allocations: 453.9 kB / 0.5731 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.6785, allocations: 169.1 kB / 0.5732 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.6785, allocations: 75.28 kB / 0.5733 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.6786, allocations: 105.8 kB / 0.5734 GB, free: 5.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.065e-06/0.6786, allocations: 4 kB / 0.5734 GB, free: 5.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.586e-05/0.6787, allocations: 33.69 kB / 0.5734 GB, free: 5.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.6788, allocations: 182.1 kB / 0.5736 GB, free: 5.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.6789, allocations: 92.98 kB / 0.5737 GB, free: 5.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.679, allocations: 25.7 kB / 0.5737 GB, free: 5.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.679, allocations: 150.6 kB / 0.5739 GB, free: 5.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.679, allocations: 0 / 0.5739 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.6791, allocations: 0 / 0.5739 GB, free: 5.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6792, allocations: 319 kB / 0.5742 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.6792, allocations: 0 / 0.5742 GB, free: 4.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.6792, allocations: 9.719 kB / 0.5742 GB, free: 4.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.6793, allocations: 75.28 kB / 0.5742 GB, free: 4.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.681e-05/0.6793, allocations: 83.22 kB / 0.5743 GB, free: 4.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.497e-05/0.6794, allocations: 29.66 kB / 0.5744 GB, free: 4.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.6795, allocations: 79.28 kB / 0.5744 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/0.6795, allocations: 91.3 kB / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-05/0.6796, allocations: 154.5 kB / 0.5747 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.282e-05/0.6796, allocations: 75.28 kB / 0.5747 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.27e-05/0.6797, allocations: 158.4 kB / 0.5749 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.6799, allocations: 79.28 kB / 0.575 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.6799, allocations: 77.39 kB / 0.575 GB, free: 3.93 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.6801, allocations: 272.4 kB / 0.5753 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.6802, allocations: 112.9 kB / 0.5754 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.6802, allocations: 108.1 kB / 0.5755 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.626e-05/0.6803, allocations: 180.2 kB / 0.5757 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.498e-05/0.6804, allocations: 176.3 kB / 0.5758 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/0.6805, allocations: 180.3 kB / 0.576 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.6807, allocations: 413.2 kB / 0.5764 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-05/0.6808, allocations: 105 kB / 0.5765 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.6808, allocations: 104.9 kB / 0.5766 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.6809, allocations: 189 kB / 0.5768 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.681, allocations: 180.3 kB / 0.577 GB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-05/0.6811, allocations: 180.2 kB / 0.5771 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.6e-05/0.6811, allocations: 180.3 kB / 0.5773 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.6813, allocations: 303.8 kB / 0.5776 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.6814, allocations: 186.1 kB / 0.5778 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.6815, allocations: 188.6 kB / 0.578 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.6817, allocations: 105 kB / 0.5781 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.6818, allocations: 188.1 kB / 0.5782 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.6819, allocations: 101 kB / 0.5783 GB, free: 340 kB / 394.7 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.6819, allocations: 79.28 kB / 0.5784 GB, free: 260 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6819, allocations: 4.094 kB / 0.5784 GB, free: 256 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007979/0.6827, allocations: 135.9 kB / 0.5785 GB, free: 120 kB / 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 (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.001279/0.684, allocations: 0.5056 MB / 0.579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.111e-05/0.6841, allocations: 0 / 0.579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6841, allocations: 3.938 kB / 0.579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.6841, allocations: 4 kB / 0.579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6845, allocations: 0.5224 MB / 0.5796 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.6847, allocations: 178.4 kB / 0.5797 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.685, allocations: 0.677 MB / 0.5804 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.685, allocations: 7.438 kB / 0.5804 GB, free: 14.21 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.685, allocations: 0 / 0.5804 GB, free: 14.21 MB / 410.7 MB Notification: Performance of Templates: time 0.008062/0.6931, allocations: 2.859 MB / 0.5832 GB, free: 11.36 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches