Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [: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.00101/0.00101, allocations: 179 kB / 8.519 MB, free: 1.859 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.246/1.246, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0008802/0.0008803, allocations: 89.59 kB / 281.2 MB, free: 5.523 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.1677/0.1677, allocations: 44.14 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.305e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4369, allocations: 88.25 MB / 0.5803 GB, free: 8.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4372, allocations: 71.97 kB / 0.5804 GB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01408/0.4513, allocations: 4.971 MB / 0.5852 GB, free: 3.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.4513, allocations: 0 / 0.5852 GB, free: 3.609 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.000418/0.4518, allocations: 386.1 kB / 0.5856 GB, free: 3.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4518, allocations: 13.22 kB / 0.5856 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.4519, allocations: 11.91 kB / 0.5856 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.4521, allocations: 210.7 kB / 0.5858 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4522, allocations: 4 kB / 0.5858 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4522, allocations: 4 kB / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.918e-05/0.4523, allocations: 15.98 kB / 0.5858 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.865e-05/0.4524, allocations: 49.62 kB / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4524, allocations: 0 / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4524, allocations: 0 / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.4524, allocations: 0 / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.4526, allocations: 166.1 kB / 0.586 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.4527, allocations: 50.58 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.4527, allocations: 20.94 kB / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4528, allocations: 0 / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.469e-05/0.4528, allocations: 55.41 kB / 0.5862 GB, free: 2.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4529, allocations: 7.938 kB / 0.5862 GB, free: 2.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000169/0.453, allocations: 65.5 kB / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.4531, allocations: 51.41 kB / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.4532, allocations: 169.4 kB / 0.5864 GB, free: 2.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4532, allocations: 25.7 kB / 0.5865 GB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.4533, allocations: 92.08 kB / 0.5865 GB, free: 2.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4533, allocations: 15.83 kB / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.4533, allocations: 4 kB / 0.5866 GB, free: 2.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4534, allocations: 322.7 kB / 0.5869 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.4535, allocations: 15.98 kB / 0.5869 GB, free: 1.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.4535, allocations: 25.72 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.361e-05/0.4535, allocations: 19.98 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4536, allocations: 0 / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001432/0.4537, allocations: 69.59 kB / 0.587 GB, free: 1.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4537, allocations: 7.938 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4537, allocations: 4 kB / 0.587 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.4537, allocations: 0 / 0.587 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.4538, allocations: 8 kB / 0.587 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4538, allocations: 4.141 kB / 0.587 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.4539, allocations: 16.05 kB / 0.587 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4539, allocations: 8 kB / 0.587 GB, free: 1.523 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 7.768e-05/0.454, allocations: 105 kB / 0.5871 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.454, allocations: 11.81 kB / 0.5872 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.4542, allocations: 81.8 kB / 0.5872 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4542, allocations: 0 / 0.5872 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4542, allocations: 3.984 kB / 0.5872 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4542, allocations: 0 / 0.5872 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.4544, allocations: 166.2 kB / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4544, allocations: 4 kB / 0.5874 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.4544, allocations: 4 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4544, allocations: 7.906 kB / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4544, allocations: 0 / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4545, allocations: 0 / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4545, allocations: 7.922 kB / 0.5874 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001324/0.4546, allocations: 96.94 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.4547, allocations: 89 kB / 0.5876 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.4547, allocations: 11.94 kB / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.4548, allocations: 4 kB / 0.5876 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.4548, allocations: 4 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.4548, allocations: 3.984 kB / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001158/0.4549, allocations: 141 kB / 0.5878 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.4552, allocations: 23.92 kB / 0.5878 GB, free: 0.6875 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.0006121/0.4558, allocations: 307.8 kB / 0.5881 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.761e-05/0.4559, allocations: 39.94 kB / 0.5881 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4559, allocations: 0 / 0.5881 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.4559, allocations: 19.94 kB / 0.5881 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.4562, allocations: 27.88 kB / 0.5882 GB, free: 380 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.4565, allocations: 135.3 kB / 0.5883 GB, free: 216 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.4569, allocations: 0.7232 MB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4569, allocations: 0 / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Templates: time 0.003988/0.4609, allocations: 1.401 MB / 0.5904 GB, free: 14.07 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time