Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [: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: 191.5 kB / 7.807 MB, free: 2.488 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.054/1.054, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0007576/0.0007576, allocations: 98.78 kB / 261.4 MB, free: 13.62 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.1635/0.1635, allocations: 43.49 MB / 352.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.455e-06/8.465e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 58.84 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3367, allocations: 87 MB / 0.5504 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.3369, allocations: 71.97 kB / 0.5504 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01806/0.355, allocations: 7.25 MB / 0.5575 GB, free: 4.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.355, allocations: 4 kB / 0.5575 GB, free: 4.703 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005054/0.3556, allocations: 485.8 kB / 0.558 GB, free: 4.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3556, allocations: 11.97 kB / 0.558 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.3557, allocations: 31.62 kB / 0.558 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.3561, allocations: 287 kB / 0.5583 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3561, allocations: 7.984 kB / 0.5583 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3561, allocations: 4 kB / 0.5583 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.194e-05/0.3562, allocations: 31.98 kB / 0.5583 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3564, allocations: 91.31 kB / 0.5584 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3564, allocations: 7.906 kB / 0.5584 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3564, allocations: 0 / 0.5584 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3564, allocations: 4 kB / 0.5584 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.3569, allocations: 441.5 kB / 0.5588 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.357, allocations: 105.4 kB / 0.5589 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.3571, allocations: 37.84 kB / 0.559 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.3571, allocations: 0 / 0.559 GB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.3573, allocations: 105 kB / 0.5591 GB, free: 2.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3573, allocations: 0 / 0.5591 GB, free: 2.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005644/0.3578, allocations: 299.9 kB / 0.5594 GB, free: 2.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3579, allocations: 77.11 kB / 0.5594 GB, free: 2.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.3583, allocations: 371.4 kB / 0.5598 GB, free: 2.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3583, allocations: 33.7 kB / 0.5598 GB, free: 2.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.3583, allocations: 104.4 kB / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.3584, allocations: 51.3 kB / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.3584, allocations: 0 / 0.56 GB, free: 1.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3585, allocations: 342.8 kB / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.3586, allocations: 36 kB / 0.5603 GB, free: 1.566 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.3587, allocations: 70.86 kB / 0.5604 GB, free: 1.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/0.3588, allocations: 39.98 kB / 0.5604 GB, free: 1.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3588, allocations: 0 / 0.5604 GB, free: 1.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002274/0.359, allocations: 169.2 kB / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.359, allocations: 6.812 kB / 0.5606 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.359, allocations: 8 kB / 0.5606 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.359, allocations: 4 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3592, allocations: 27.98 kB / 0.5607 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3592, allocations: 4 kB / 0.5607 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.3593, allocations: 7.984 kB / 0.5607 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3593, allocations: 11.92 kB / 0.5607 GB, free: 1.211 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.582e-05/0.3594, allocations: 118.2 kB / 0.5608 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.3594, allocations: 31.62 kB / 0.5608 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.3598, allocations: 188.4 kB / 0.561 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3598, allocations: 0 / 0.561 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3598, allocations: 0 / 0.561 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3598, allocations: 7.984 kB / 0.561 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.3605, allocations: 0.617 MB / 0.5616 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3605, allocations: 3.906 kB / 0.5616 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.3606, allocations: 23.92 kB / 0.5616 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3606, allocations: 7.938 kB / 0.5616 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3606, allocations: 4 kB / 0.5616 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3606, allocations: 0 / 0.5616 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3606, allocations: 0 / 0.5616 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003125/0.3609, allocations: 382.5 kB / 0.562 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.361, allocations: 124.7 kB / 0.5621 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.3611, allocations: 384 / 0.5621 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3612, allocations: 11.92 kB / 0.5621 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3613, allocations: 23.89 kB / 0.5622 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.3613, allocations: 8 kB / 0.5622 GB, free: 15.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002702/0.3616, allocations: 299.1 kB / 0.5625 GB, free: 15.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.3619, allocations: 51.92 kB / 0.5625 GB, free: 15.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006462/0.3625, allocations: 360 kB / 0.5628 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.3627, allocations: 103.9 kB / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3627, allocations: 0 / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.3628, allocations: 59.94 kB / 0.563 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3632, allocations: 48.34 kB / 0.5631 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.3638, allocations: 403.6 kB / 0.5634 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.3642, allocations: 0.8052 MB / 0.5642 GB, free: 13.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3642, allocations: 0 / 0.5642 GB, free: 13.43 MB / 410.7 MB Notification: Performance of Templates: time 0.005293/0.3695, allocations: 2.783 MB / 0.5669 GB, free: 10.65 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches