Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [: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.001069/0.001069, allocations: 179.3 kB / 8.518 MB, free: 1.82 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.258/1.258, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.001165/0.001165, allocations: 92.67 kB / 281.2 MB, free: 5.504 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.1698/0.1698, allocations: 44.15 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.082e-05, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 61.92 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4352, allocations: 88.49 MB / 0.5805 GB, free: 8.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4355, allocations: 75.94 kB / 0.5806 GB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01489/0.4504, allocations: 5.25 MB / 0.5857 GB, free: 3.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4505, allocations: 4 kB / 0.5857 GB, free: 3.062 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004735/0.4509, allocations: 406 kB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.451, allocations: 13.22 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.451, allocations: 7.906 kB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.4514, allocations: 215.5 kB / 0.5863 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.4514, allocations: 4 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.4515, allocations: 4 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.516e-05/0.4516, allocations: 16 kB / 0.5863 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4517, allocations: 57.58 kB / 0.5864 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4517, allocations: 7.922 kB / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.4517, allocations: 0 / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4518, allocations: 0 / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.4522, allocations: 273.4 kB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.4523, allocations: 50.69 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.4524, allocations: 20.97 kB / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4524, allocations: 0 / 0.5867 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.4526, allocations: 63.34 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4526, allocations: 0 / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004786/0.453, allocations: 125.3 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4531, allocations: 67.39 kB / 0.587 GB, free: 1.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4533, allocations: 179.6 kB / 0.5872 GB, free: 1.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4533, allocations: 25.7 kB / 0.5872 GB, free: 1.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.4534, allocations: 92.05 kB / 0.5873 GB, free: 1.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.4534, allocations: 27.64 kB / 0.5873 GB, free: 1.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.4534, allocations: 0 / 0.5873 GB, free: 1.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4536, allocations: 322.8 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.4536, allocations: 20 kB / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.4537, allocations: 42.39 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.4537, allocations: 12 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4537, allocations: 0 / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001484/0.4539, allocations: 97.67 kB / 0.5878 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4539, allocations: 4 kB / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4539, allocations: 7.938 kB / 0.5878 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4539, allocations: 0 / 0.5878 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.454, allocations: 15.94 kB / 0.5878 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4541, allocations: 0 / 0.5878 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.4541, allocations: 12.2 kB / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4541, allocations: 8 kB / 0.5878 GB, free: 0.6992 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 (10): * Single equations (assignments): 10 * 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.205e-05/0.4542, allocations: 101 kB / 0.5879 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.4542, allocations: 15.81 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.4545, allocations: 107 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4545, allocations: 0 / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4545, allocations: 0 / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4545, allocations: 0 / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.4549, allocations: 375.8 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4549, allocations: 3.984 kB / 0.5884 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.4549, allocations: 8 kB / 0.5884 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.455, allocations: 4 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.455, allocations: 3.938 kB / 0.5884 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.455, allocations: 4.141 kB / 0.5884 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.455, allocations: 0 / 0.5884 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002378/0.4552, allocations: 214.1 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.4553, allocations: 97 kB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.4553, allocations: 0 / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.4554, allocations: 7.906 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.4555, allocations: 3.984 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.4555, allocations: 4 kB / 0.5887 GB, free: 15.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001152/0.4556, allocations: 152 kB / 0.5889 GB, free: 15.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.4559, allocations: 27.94 kB / 0.5889 GB, free: 15.5 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: 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 (9): * Single equations (assignments): 7 * 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.0007204/0.4566, allocations: 343.6 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4567, allocations: 59.92 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4567, allocations: 0 / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.4568, allocations: 28 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4571, allocations: 23.98 kB / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.4575, allocations: 168.5 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.4578, allocations: 0.7349 MB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4578, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Templates: time 0.004119/0.4619, allocations: 1.651 MB / 0.5918 GB, free: 12.54 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches