Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [: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.0009845/0.0009847, allocations: 179.9 kB / 8.519 MB, free: 1.855 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.27/1.27, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009142/0.0009144, allocations: 98.16 kB / 281.2 MB, free: 5.461 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.1902/0.1902, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.696e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.4311, allocations: 88.33 MB / 0.5804 GB, free: 8.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4314, allocations: 71.97 kB / 0.5804 GB, free: 8.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01668/0.4481, allocations: 6.237 MB / 0.5865 GB, free: 2.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.4482, allocations: 4 kB / 0.5865 GB, free: 2.297 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006613/0.4488, allocations: 0.5947 MB / 0.5871 GB, free: 1.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4489, allocations: 17.47 kB / 0.5871 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.615e-05/0.449, allocations: 47.34 kB / 0.5872 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.4497, allocations: 483 kB / 0.5876 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4498, allocations: 0 / 0.5876 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.4498, allocations: 8 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.584e-05/0.4499, allocations: 23.98 kB / 0.5876 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.45, allocations: 79.38 kB / 0.5877 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.45, allocations: 0 / 0.5877 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.45, allocations: 4 kB / 0.5877 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4501, allocations: 0 / 0.5877 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.4504, allocations: 354.8 kB / 0.5881 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.4505, allocations: 93.25 kB / 0.5882 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.4506, allocations: 41.89 kB / 0.5882 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.4506, allocations: 3.984 kB / 0.5882 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.4508, allocations: 97.03 kB / 0.5883 GB, free: 304 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4508, allocations: 0 / 0.5883 GB, free: 304 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002789/0.4511, allocations: 145 kB / 0.5884 GB, free: 152 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4511, allocations: 81.11 kB / 0.5885 GB, free: 52 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.4522, allocations: 0.881 MB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4522, allocations: 25.7 kB / 0.5894 GB, free: 15.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.4523, allocations: 140.1 kB / 0.5895 GB, free: 14.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.4523, allocations: 27.64 kB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.4523, allocations: 0 / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4525, allocations: 362.8 kB / 0.5899 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.4525, allocations: 24 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.4526, allocations: 55.42 kB / 0.59 GB, free: 14.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.687e-05/0.4527, allocations: 32.05 kB / 0.59 GB, free: 14.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4527, allocations: 3.906 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002153/0.4529, allocations: 149 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4529, allocations: 8 kB / 0.5902 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4529, allocations: 0 / 0.5902 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.4529, allocations: 0 / 0.5902 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4531, allocations: 35.89 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4531, allocations: 0 / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.4532, allocations: 7.938 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.4532, allocations: 7.938 kB / 0.5902 GB, free: 14.26 MB / 410.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.72e-05/0.4533, allocations: 124.7 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.4534, allocations: 47.44 kB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.4536, allocations: 165.6 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4537, allocations: 7.906 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4537, allocations: 0 / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4537, allocations: 0 / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.454, allocations: 353.9 kB / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.454, allocations: 0 / 0.5909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.4541, allocations: 16.17 kB / 0.5909 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4541, allocations: 3.906 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4541, allocations: 8 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4541, allocations: 0 / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4541, allocations: 0 / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002407/0.4543, allocations: 195.2 kB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.4546, allocations: 188.4 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.4547, allocations: 4 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4548, allocations: 11.98 kB / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.4548, allocations: 4 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4548, allocations: 15.92 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000719/0.4556, allocations: 0.698 MB / 0.592 GB, free: 12.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000294/0.4559, allocations: 72 kB / 0.5921 GB, free: 12.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006068/0.4565, allocations: 311.4 kB / 0.5923 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.4566, allocations: 75.92 kB / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4566, allocations: 128 / 0.5924 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.4567, allocations: 44.19 kB / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.4571, allocations: 66.81 kB / 0.5925 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4583, allocations: 0.7388 MB / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.4589, allocations: 0.885 MB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4589, allocations: 4 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of Templates: time 0.007399/0.4663, allocations: 3.572 MB / 0.5976 GB, free: 6.621 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches