Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [: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 4.0.0+maint.om/package.mo): time 0.001122/0.001121, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009259, allocations: 84.69 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1884/0.1884, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.051e-05/1.102e-05, allocations: 4.219 kB / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 61.91 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3213/0.4562, allocations: 88.31 MB / 0.5803 GB, free: 8.531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4564, allocations: 75.59 kB / 0.5804 GB, free: 8.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01384/0.4703, allocations: 5.033 MB / 0.5853 GB, free: 3.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4703, allocations: 0 / 0.5853 GB, free: 3.438 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.0004459/0.4708, allocations: 390.1 kB / 0.5857 GB, free: 3.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4709, allocations: 13.22 kB / 0.5857 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.4709, allocations: 11.91 kB / 0.5857 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.4712, allocations: 214.7 kB / 0.5859 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4713, allocations: 7.984 kB / 0.5859 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4713, allocations: 0 / 0.5859 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.067e-05/0.4714, allocations: 12 kB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.4714, allocations: 45.67 kB / 0.586 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4715, allocations: 4 kB / 0.586 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4715, allocations: 0 / 0.586 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4715, allocations: 0 / 0.586 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.4717, allocations: 162.2 kB / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.4718, allocations: 54.56 kB / 0.5862 GB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.4718, allocations: 12.86 kB / 0.5862 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4719, allocations: 4 kB / 0.5862 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.55e-05/0.4719, allocations: 55.5 kB / 0.5863 GB, free: 2.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.472, allocations: 3.938 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001818/0.4721, allocations: 73.48 kB / 0.5863 GB, free: 2.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4722, allocations: 55.41 kB / 0.5864 GB, free: 2.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.4724, allocations: 161.4 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4724, allocations: 25.7 kB / 0.5866 GB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.4724, allocations: 92.12 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.4725, allocations: 11.84 kB / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4725, allocations: 0 / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4726, allocations: 326.7 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.4726, allocations: 15.94 kB / 0.587 GB, free: 1.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.4727, allocations: 26.47 kB / 0.587 GB, free: 1.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.4727, allocations: 19.98 kB / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4727, allocations: 0 / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001073/0.4728, allocations: 69.59 kB / 0.5871 GB, free: 1.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4728, allocations: 4 kB / 0.5871 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4729, allocations: 4 kB / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.4729, allocations: 0 / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.473, allocations: 15.92 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.473, allocations: 7.969 kB / 0.5871 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.473, allocations: 7.906 kB / 0.5872 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.473, allocations: 4 kB / 0.5872 GB, free: 1.359 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 6.864e-05/0.4731, allocations: 101 kB / 0.5873 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.4731, allocations: 11.81 kB / 0.5873 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.4733, allocations: 85.98 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4733, allocations: 0 / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4733, allocations: 3.938 kB / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4733, allocations: 4 kB / 0.5874 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.4734, allocations: 162.2 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4735, allocations: 0 / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.4735, allocations: 8 kB / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4735, allocations: 7.906 kB / 0.5875 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4735, allocations: 3.984 kB / 0.5875 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4735, allocations: 0 / 0.5875 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4735, allocations: 0 / 0.5875 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001259/0.4737, allocations: 100.9 kB / 0.5876 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.4737, allocations: 89 kB / 0.5877 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.4737, allocations: 7.938 kB / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.4738, allocations: 0 / 0.5877 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.4738, allocations: 11.97 kB / 0.5877 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.4739, allocations: 4 kB / 0.5877 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001152/0.474, allocations: 137 kB / 0.5879 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.4742, allocations: 23.94 kB / 0.5879 GB, free: 0.5273 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.000716/0.4749, allocations: 314 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.475, allocations: 32 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.475, allocations: 0 / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.4751, allocations: 27.92 kB / 0.5882 GB, free: 232 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.4753, allocations: 28.03 kB / 0.5883 GB, free: 204 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.4757, allocations: 135.3 kB / 0.5884 GB, free: 40 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.4761, allocations: 0.7193 MB / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4761, allocations: 0 / 0.5891 GB, free: 15.29 MB / 410.7 MB Notification: Performance of Templates: time 0.003619/0.4797, allocations: 1.406 MB / 0.5905 GB, free: 13.9 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches