Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [: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.001332/0.001332, allocations: 187.3 kB / 7.805 MB, free: 2.48 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.051/1.051, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007866/0.0007866, allocations: 92.91 kB / 261.4 MB, free: 13.54 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.1568/0.1568, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.893e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2318, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3389, allocations: 86.73 MB / 0.5501 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001563/0.3391, allocations: 71.97 kB / 0.5502 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01215/0.3512, allocations: 4.831 MB / 0.5549 GB, free: 7.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.3513, allocations: 4 kB / 0.5549 GB, free: 7.402 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003063/0.3516, allocations: 382.2 kB / 0.5552 GB, free: 6.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.374e-05/0.3516, allocations: 12.03 kB / 0.5553 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.3517, allocations: 11.89 kB / 0.5553 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3519, allocations: 221.6 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3519, allocations: 0 / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3519, allocations: 4 kB / 0.5555 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.03e-05/0.352, allocations: 15.98 kB / 0.5555 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.005e-05/0.3521, allocations: 41.69 kB / 0.5555 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-06/0.3521, allocations: 0 / 0.5555 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.3521, allocations: 3.984 kB / 0.5555 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3521, allocations: 7.938 kB / 0.5555 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.3522, allocations: 166.2 kB / 0.5557 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.3523, allocations: 42.58 kB / 0.5557 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.3524, allocations: 20.94 kB / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3524, allocations: 0 / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/0.3525, allocations: 59.41 kB / 0.5558 GB, free: 6.281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3525, allocations: 4 kB / 0.5558 GB, free: 6.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001322/0.3526, allocations: 69.5 kB / 0.5559 GB, free: 6.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.3527, allocations: 51.41 kB / 0.5559 GB, free: 6.141 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3528, allocations: 170.3 kB / 0.5561 GB, free: 5.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3528, allocations: 25.7 kB / 0.5561 GB, free: 5.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.3528, allocations: 84.08 kB / 0.5562 GB, free: 5.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.3529, allocations: 19.83 kB / 0.5562 GB, free: 5.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.3529, allocations: 3.938 kB / 0.5562 GB, free: 5.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.353, allocations: 330.7 kB / 0.5565 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.353, allocations: 12 kB / 0.5566 GB, free: 5.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.353, allocations: 25.72 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.3531, allocations: 15.98 kB / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3531, allocations: 0 / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001122/0.3532, allocations: 69.59 kB / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.3532, allocations: 7.938 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3532, allocations: 3.984 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.3532, allocations: 8.031 kB / 0.5567 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.3533, allocations: 8 kB / 0.5567 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3533, allocations: 3.984 kB / 0.5567 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.3534, allocations: 7.906 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3534, allocations: 4 kB / 0.5567 GB, free: 5.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.741e-05/0.3534, allocations: 108.4 kB / 0.5568 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.3535, allocations: 11.81 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3536, allocations: 81.8 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3536, allocations: 4 kB / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3536, allocations: 192 / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3536, allocations: 0 / 0.5569 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3537, allocations: 174.2 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3537, allocations: 0 / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.3538, allocations: 7.906 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3538, allocations: 0 / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3538, allocations: 4 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3538, allocations: 3.984 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3538, allocations: 0 / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001105/0.3539, allocations: 100.9 kB / 0.5572 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.354, allocations: 89 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.354, allocations: 7.938 kB / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.3541, allocations: 4 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.3541, allocations: 3.984 kB / 0.5573 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3541, allocations: 4 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.794e-05/0.3542, allocations: 140 kB / 0.5574 GB, free: 4.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.3544, allocations: 27.92 kB / 0.5574 GB, free: 4.48 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005249/0.3549, allocations: 318.5 kB / 0.5577 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.333e-05/0.355, allocations: 32 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.355, allocations: 4 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.3551, allocations: 19.94 kB / 0.5578 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.3553, allocations: 31.77 kB / 0.5578 GB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.3555, allocations: 131.6 kB / 0.558 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3558, allocations: 0.727 MB / 0.5587 GB, free: 3.203 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3558, allocations: 0 / 0.5587 GB, free: 3.203 MB / 394.7 MB Notification: Performance of Templates: time 0.003193/0.359, allocations: 1.398 MB / 0.56 GB, free: 1.809 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches