Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [: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.001086/0.001086, allocations: 170.6 kB / 8.513 MB, free: 1.844 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.22/1.22, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.00104/0.00104, allocations: 90.41 kB / 281.2 MB, free: 5.43 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.1864/0.1864, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.025e-05, allocations: 4 kB / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.4528, allocations: 88.3 MB / 0.5803 GB, free: 8.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4531, allocations: 71.97 kB / 0.5804 GB, free: 8.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01504/0.4682, allocations: 5.328 MB / 0.5856 GB, free: 3.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4682, allocations: 8 kB / 0.5856 GB, free: 3.184 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.0004277/0.4687, allocations: 398.1 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4687, allocations: 17.22 kB / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.4688, allocations: 11.81 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.4691, allocations: 234.2 kB / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4691, allocations: 0 / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.4692, allocations: 0 / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.209e-05/0.4692, allocations: 15.98 kB / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.687e-05/0.4693, allocations: 53.59 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4693, allocations: 0 / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4694, allocations: 0 / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4694, allocations: 0 / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.4696, allocations: 174.2 kB / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.099e-05/0.4697, allocations: 46.56 kB / 0.5865 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.4697, allocations: 16.86 kB / 0.5865 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4697, allocations: 4 kB / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.861e-05/0.4698, allocations: 63.44 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.4698, allocations: 0 / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001811/0.47, allocations: 77.48 kB / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4701, allocations: 51.41 kB / 0.5867 GB, free: 1.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.4703, allocations: 225.9 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4703, allocations: 29.64 kB / 0.587 GB, free: 1.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.4704, allocations: 104.1 kB / 0.5871 GB, free: 1.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.4704, allocations: 3.906 kB / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.4704, allocations: 0 / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4705, allocations: 330.8 kB / 0.5874 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.4706, allocations: 11.98 kB / 0.5874 GB, free: 1.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.4706, allocations: 25.72 kB / 0.5874 GB, free: 1.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.4706, allocations: 12 kB / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4706, allocations: 4 kB / 0.5874 GB, free: 1.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.4708, allocations: 85.42 kB / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4708, allocations: 4 kB / 0.5875 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4708, allocations: 0 / 0.5875 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4708, allocations: 7.906 kB / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.4709, allocations: 8 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4709, allocations: 0 / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.471, allocations: 7.938 kB / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.471, allocations: 3.984 kB / 0.5875 GB, free: 0.9883 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.916e-05/0.4711, allocations: 113 kB / 0.5876 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.4711, allocations: 11.81 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.4713, allocations: 94.64 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4713, allocations: 3.906 kB / 0.5878 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4713, allocations: 0 / 0.5878 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4713, allocations: 0 / 0.5878 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4714, allocations: 178.2 kB / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4714, allocations: 0 / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.4715, allocations: 4 kB / 0.5879 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4715, allocations: 4 kB / 0.5879 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4715, allocations: 3.984 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4715, allocations: 0 / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4715, allocations: 4.094 kB / 0.5879 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000138/0.4717, allocations: 108.9 kB / 0.588 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.4717, allocations: 100.8 kB / 0.5881 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4718, allocations: 0 / 0.5881 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.4718, allocations: 4 kB / 0.5881 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.4719, allocations: 7.984 kB / 0.5882 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4719, allocations: 11.94 kB / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.00016/0.472, allocations: 184.2 kB / 0.5883 GB, free: 88 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.4723, allocations: 28 kB / 0.5884 GB, free: 60 kB / 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.0007884/0.4731, allocations: 307 kB / 0.5887 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.4732, allocations: 35.98 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4732, allocations: 4.062 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.4732, allocations: 23.94 kB / 0.5887 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4735, allocations: 28.06 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.4739, allocations: 203.6 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.4743, allocations: 0.7305 MB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4743, allocations: 0 / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of Templates: time 0.004168/0.4784, allocations: 1.523 MB / 0.5911 GB, free: 13.25 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches