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.002446/0.002446, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.091/2.091, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001137/0.001137, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2775/0.2775, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.196e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.465/0.5782, allocations: 87.26 MB / 0.558 GB, free: 400 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5785, allocations: 68.69 kB / 0.5581 GB, free: 368 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02899/0.6075, allocations: 7.028 MB / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6075, allocations: 0 / 0.5649 GB, free: 10.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.6075, allocations: 0 / 0.5649 GB, free: 10.48 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.0005429/0.6081, allocations: 413.8 kB / 0.5653 GB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6081, allocations: 12.03 kB / 0.5653 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.6084, allocations: 87.27 kB / 0.5654 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.6086, allocations: 242.2 kB / 0.5657 GB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.6087, allocations: 154.2 kB / 0.5658 GB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.6088, allocations: 150.6 kB / 0.5659 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.6089, allocations: 105 kB / 0.566 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.6089, allocations: 79.28 kB / 0.5661 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.609, allocations: 154.5 kB / 0.5663 GB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.609, allocations: 150.6 kB / 0.5664 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.6091, allocations: 150.6 kB / 0.5666 GB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.6094, allocations: 461.4 kB / 0.567 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.6095, allocations: 169.2 kB / 0.5672 GB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.6096, allocations: 84.14 kB / 0.5672 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.6096, allocations: 75.28 kB / 0.5673 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.6097, allocations: 113.3 kB / 0.5674 GB, free: 7.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.6097, allocations: 0 / 0.5674 GB, free: 7.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.931e-05/0.6098, allocations: 33.64 kB / 0.5674 GB, free: 7.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.6099, allocations: 178.1 kB / 0.5676 GB, free: 7.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.61, allocations: 88.98 kB / 0.5677 GB, free: 7.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.61, allocations: 25.7 kB / 0.5677 GB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.6101, allocations: 153.7 kB / 0.5679 GB, free: 7.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.6101, allocations: 4.125 kB / 0.5679 GB, free: 7.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-07/0.6101, allocations: 4 kB / 0.5679 GB, free: 7.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6102, allocations: 313.6 kB / 0.5682 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-06/0.6103, allocations: 0 / 0.5682 GB, free: 6.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.6103, allocations: 9.719 kB / 0.5682 GB, free: 6.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.6104, allocations: 79.28 kB / 0.5683 GB, free: 6.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-05/0.6104, allocations: 79.23 kB / 0.5683 GB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.599e-05/0.6105, allocations: 29.67 kB / 0.5684 GB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.6105, allocations: 87.28 kB / 0.5684 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.6106, allocations: 79.89 kB / 0.5685 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.802e-05/0.6107, allocations: 160.4 kB / 0.5687 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.6107, allocations: 75.28 kB / 0.5688 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.277e-05/0.6108, allocations: 154.6 kB / 0.5689 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.611, allocations: 83.16 kB / 0.569 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.611, allocations: 85.72 kB / 0.5691 GB, free: 6.027 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.0001285/0.6112, allocations: 251.5 kB / 0.5693 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.6112, allocations: 116.9 kB / 0.5694 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.6113, allocations: 107 kB / 0.5695 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-05/0.6114, allocations: 176.3 kB / 0.5697 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.6115, allocations: 184.2 kB / 0.5699 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.736e-05/0.6116, allocations: 180.3 kB / 0.57 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.6118, allocations: 408.1 kB / 0.5704 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/0.6119, allocations: 101 kB / 0.5705 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.612, allocations: 104.9 kB / 0.5706 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.823e-05/0.612, allocations: 188.2 kB / 0.5708 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.6121, allocations: 183.6 kB / 0.571 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-05/0.6122, allocations: 180.2 kB / 0.5711 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.75e-05/0.6123, allocations: 176.3 kB / 0.5713 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.6125, allocations: 311.2 kB / 0.5716 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.6126, allocations: 182.5 kB / 0.5718 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/0.6127, allocations: 184.2 kB / 0.572 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6129, allocations: 105 kB / 0.5721 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.613, allocations: 191.7 kB / 0.5722 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.613, allocations: 101 kB / 0.5723 GB, free: 2.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.6131, allocations: 83.28 kB / 0.5724 GB, free: 2.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6131, allocations: 0 / 0.5724 GB, free: 2.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007633/0.6139, allocations: 127.7 kB / 0.5725 GB, free: 2.262 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.001278/0.6152, allocations: 0.5055 MB / 0.573 GB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.597e-05/0.6153, allocations: 4 kB / 0.573 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6153, allocations: 0 / 0.573 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.6153, allocations: 0 / 0.573 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.6156, allocations: 0.524 MB / 0.5735 GB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.6158, allocations: 150 kB / 0.5737 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.6161, allocations: 0.6731 MB / 0.5743 GB, free: 396 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.6161, allocations: 7.438 kB / 0.5744 GB, free: 388 kB / 378.7 MB Notification: Performance of SimCode: time 4.619e-06/0.6161, allocations: 0 / 0.5744 GB, free: 388 kB / 378.7 MB Notification: Performance of Templates: time 0.00789/0.624, allocations: 2.844 MB / 0.5771 GB, free: 13.54 MB / 394.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