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.001688/0.001689, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.893/2.893, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.001062/0.001062, allocations: 86.3 kB / 271.9 MB, free: 8.281 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.618/0.618, allocations: 43.56 MB / 363.8 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005696/0.0005697, allocations: 11.94 kB / 432.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2078, allocations: 58.86 MB / 491.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5697/0.7776, allocations: 87.39 MB / 0.5653 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.778, allocations: 63.98 kB / 0.5653 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.8075, allocations: 6.076 MB / 0.5713 GB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.8076, allocations: 3.938 kB / 0.5713 GB, free: 8.973 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.8076, allocations: 0 / 0.5713 GB, free: 8.973 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.000771/0.8084, allocations: 412 kB / 0.5717 GB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.8085, allocations: 12.03 kB / 0.5717 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002838/0.8088, allocations: 92.2 kB / 0.5718 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.809, allocations: 244.6 kB / 0.572 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.8091, allocations: 150.9 kB / 0.5721 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.8092, allocations: 150.9 kB / 0.5723 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.8093, allocations: 108.6 kB / 0.5724 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/0.8093, allocations: 75.47 kB / 0.5725 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.8094, allocations: 162.4 kB / 0.5726 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.8095, allocations: 150.6 kB / 0.5727 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.8095, allocations: 150.6 kB / 0.5729 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.8099, allocations: 442 kB / 0.5733 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.81, allocations: 173.1 kB / 0.5735 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.8101, allocations: 80.14 kB / 0.5736 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.8102, allocations: 87.25 kB / 0.5736 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.8102, allocations: 109.8 kB / 0.5737 GB, free: 6.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.644e-06/0.8102, allocations: 0 / 0.5737 GB, free: 6.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001119/0.8104, allocations: 33.64 kB / 0.5738 GB, free: 6.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.8105, allocations: 182.1 kB / 0.574 GB, free: 6.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.8106, allocations: 89.86 kB / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.8107, allocations: 25.7 kB / 0.5741 GB, free: 5.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.8107, allocations: 84.14 kB / 0.5741 GB, free: 5.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.8107, allocations: 0 / 0.5741 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-07/0.8107, allocations: 0 / 0.5741 GB, free: 5.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8109, allocations: 314.8 kB / 0.5744 GB, free: 5.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.8109, allocations: 0 / 0.5744 GB, free: 5.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.533e-05/0.811, allocations: 21.77 kB / 0.5745 GB, free: 5.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.811, allocations: 79.28 kB / 0.5745 GB, free: 5.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/0.811, allocations: 75.28 kB / 0.5746 GB, free: 5.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.875e-05/0.8111, allocations: 25.7 kB / 0.5746 GB, free: 5.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.8112, allocations: 83.28 kB / 0.5747 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.8112, allocations: 83.16 kB / 0.5748 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-05/0.8113, allocations: 154.5 kB / 0.5749 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.275e-05/0.8114, allocations: 79.31 kB / 0.575 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.202e-05/0.8115, allocations: 166.5 kB / 0.5752 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.8116, allocations: 75.28 kB / 0.5752 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.8117, allocations: 79.28 kB / 0.5753 GB, free: 4.562 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.0001454/0.8118, allocations: 260.3 kB / 0.5756 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.8119, allocations: 109 kB / 0.5757 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.812, allocations: 121.2 kB / 0.5758 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-05/0.8121, allocations: 182.1 kB / 0.576 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.323e-05/0.8122, allocations: 176.3 kB / 0.5761 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.997e-05/0.8123, allocations: 184.2 kB / 0.5763 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.8126, allocations: 402.1 kB / 0.5767 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.414e-05/0.8126, allocations: 105 kB / 0.5768 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.8127, allocations: 112.9 kB / 0.5769 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.462e-05/0.8128, allocations: 176.3 kB / 0.5771 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.8129, allocations: 184.1 kB / 0.5772 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.404e-05/0.8129, allocations: 184.2 kB / 0.5774 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-05/0.813, allocations: 184.3 kB / 0.5776 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.8132, allocations: 303.8 kB / 0.5779 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.283e-05/0.8133, allocations: 188 kB / 0.5781 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.8134, allocations: 184.1 kB / 0.5782 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.8136, allocations: 109.4 kB / 0.5783 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.8137, allocations: 184.2 kB / 0.5785 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.8137, allocations: 105 kB / 0.5786 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.8138, allocations: 75.28 kB / 0.5787 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8138, allocations: 0 / 0.5787 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001033/0.8148, allocations: 131.9 kB / 0.5788 GB, free: 0.7656 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 (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.001408/0.8163, allocations: 0.5123 MB / 0.5793 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.8164, allocations: 7.938 kB / 0.5793 GB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8164, allocations: 0 / 0.5793 GB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.8164, allocations: 4 kB / 0.5793 GB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.8169, allocations: 0.5185 MB / 0.5798 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.8172, allocations: 178.4 kB / 0.58 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.8175, allocations: 0.6731 MB / 0.5807 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.8176, allocations: 7.438 kB / 0.5807 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.8176, allocations: 4 kB / 0.5807 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.008139/0.8257, allocations: 2.705 MB / 0.5833 GB, free: 12.15 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