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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 188 kB / 7.801 MB, free: 2.441 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.021/1.021, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007978/0.0007978, allocations: 88.89 kB / 261.4 MB, free: 13.53 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.1465/0.1465, allocations: 43.5 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.321e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 58.83 MB / 476.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3179, allocations: 86.53 MB / 0.5499 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001348/0.3181, allocations: 63.97 kB / 0.5499 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01647/0.3346, allocations: 6.679 MB / 0.5565 GB, free: 5.676 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3346, allocations: 0 / 0.5565 GB, free: 5.676 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.0003079/0.3349, allocations: 414.2 kB / 0.5569 GB, free: 5.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.335, allocations: 8.031 kB / 0.5569 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3352, allocations: 95.27 kB / 0.557 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3353, allocations: 238.4 kB / 0.5572 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.3353, allocations: 152 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.3354, allocations: 162.4 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.397e-05/0.3354, allocations: 150.6 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.119e-05/0.3355, allocations: 108.9 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3355, allocations: 79.28 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.3356, allocations: 154.6 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.3356, allocations: 150.6 kB / 0.5581 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.3358, allocations: 418.5 kB / 0.5585 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.3359, allocations: 173.1 kB / 0.5587 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.3359, allocations: 84.14 kB / 0.5587 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.336, allocations: 79.28 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.336, allocations: 109.8 kB / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.336, allocations: 0 / 0.5589 GB, free: 2.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.224e-05/0.3361, allocations: 25.7 kB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3361, allocations: 106.8 kB / 0.5591 GB, free: 2.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.3362, allocations: 89.05 kB / 0.5591 GB, free: 2.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3362, allocations: 25.7 kB / 0.5592 GB, free: 2.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.3363, allocations: 80.14 kB / 0.5592 GB, free: 2.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.3363, allocations: 3.938 kB / 0.5592 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.3363, allocations: 0 / 0.5592 GB, free: 2.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.3364, allocations: 318.8 kB / 0.5595 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-06/0.3364, allocations: 4 kB / 0.5596 GB, free: 2.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.3364, allocations: 17.84 kB / 0.5596 GB, free: 2.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.3364, allocations: 75.28 kB / 0.5596 GB, free: 2.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.3365, allocations: 75.28 kB / 0.5597 GB, free: 2.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.934e-05/0.3365, allocations: 33.69 kB / 0.5597 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.3365, allocations: 4 kB / 0.5597 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3366, allocations: 79.22 kB / 0.5598 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.564e-05/0.3366, allocations: 154.6 kB / 0.56 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.3366, allocations: 79.31 kB / 0.56 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.326e-05/0.3367, allocations: 154.5 kB / 0.5602 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.3368, allocations: 83.27 kB / 0.5603 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3368, allocations: 77.22 kB / 0.5603 GB, free: 1.469 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 () * 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 9.743e-05/0.3369, allocations: 259.5 kB / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.337, allocations: 112.9 kB / 0.5607 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.337, allocations: 104 kB / 0.5608 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-05/0.3371, allocations: 176.3 kB / 0.561 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/0.3371, allocations: 192.1 kB / 0.5612 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/0.3372, allocations: 184.2 kB / 0.5613 GB, free: 424 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3374, allocations: 381.7 kB / 0.5617 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/0.3374, allocations: 104.9 kB / 0.5618 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.3374, allocations: 109 kB / 0.5619 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.612e-05/0.3375, allocations: 180.3 kB / 0.5621 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.3376, allocations: 180.2 kB / 0.5622 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.578e-05/0.3376, allocations: 180.3 kB / 0.5624 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.744e-05/0.3377, allocations: 184.6 kB / 0.5626 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001245/0.3378, allocations: 307.8 kB / 0.5629 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.3379, allocations: 186 kB / 0.5631 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.338, allocations: 180.2 kB / 0.5632 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3381, allocations: 117 kB / 0.5633 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3381, allocations: 176.3 kB / 0.5635 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3382, allocations: 104.9 kB / 0.5636 GB, free: 13.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.766e-05/0.3382, allocations: 79.28 kB / 0.5637 GB, free: 13.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.3387, allocations: 135.9 kB / 0.5638 GB, free: 13.7 MB / 410.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.0007889/0.3395, allocations: 498.5 kB / 0.5643 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.332e-05/0.3395, allocations: 4 kB / 0.5643 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3395, allocations: 0 / 0.5643 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.3395, allocations: 7.922 kB / 0.5643 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3398, allocations: 0.5224 MB / 0.5648 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001265/0.3399, allocations: 123.2 kB / 0.5649 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.3401, allocations: 0.688 MB / 0.5656 GB, free: 11.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3401, allocations: 0 / 0.5656 GB, free: 11.82 MB / 410.7 MB Notification: Performance of Templates: time 0.004569/0.3447, allocations: 2.55 MB / 0.5681 GB, free: 9.277 MB / 410.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