Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") [: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.0009998/0.001, allocations: 179 kB / 8.517 MB, free: 1.852 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.245/1.245, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.0008875/0.0008876, allocations: 84.8 kB / 281.2 MB, free: 5.484 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.1938/0.1938, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.347e-06/9.357e-06, allocations: 4 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4594, allocations: 88.49 MB / 0.5805 GB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.4597, allocations: 71.95 kB / 0.5806 GB, free: 8.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01455/0.4742, allocations: 5.356 MB / 0.5858 GB, free: 2.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.4743, allocations: 0 / 0.5858 GB, free: 2.996 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.0004276/0.4747, allocations: 410 kB / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4748, allocations: 13.22 kB / 0.5862 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.4748, allocations: 11.81 kB / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4751, allocations: 222.8 kB / 0.5864 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.4752, allocations: 0 / 0.5864 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.4752, allocations: 4 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.447e-05/0.4753, allocations: 23.92 kB / 0.5865 GB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.29e-05/0.4754, allocations: 49.69 kB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4754, allocations: 0 / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.4754, allocations: 0 / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4754, allocations: 3.938 kB / 0.5865 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.4758, allocations: 277.4 kB / 0.5868 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4759, allocations: 46.69 kB / 0.5868 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.476, allocations: 24.92 kB / 0.5869 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.476, allocations: 4 kB / 0.5869 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.697e-05/0.4761, allocations: 63.39 kB / 0.5869 GB, free: 1.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.4761, allocations: 4 kB / 0.5869 GB, free: 1.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004007/0.4765, allocations: 133.2 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.4765, allocations: 51.41 kB / 0.5871 GB, free: 1.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4767, allocations: 209.9 kB / 0.5873 GB, free: 1.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4768, allocations: 25.7 kB / 0.5873 GB, free: 1.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.4768, allocations: 99.97 kB / 0.5874 GB, free: 1.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.4768, allocations: 15.81 kB / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4768, allocations: 0 / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4769, allocations: 326.7 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.477, allocations: 23.98 kB / 0.5878 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.477, allocations: 30.47 kB / 0.5878 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.4771, allocations: 23.98 kB / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4771, allocations: 0 / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001326/0.4772, allocations: 93.44 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4773, allocations: 8.188 kB / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4773, allocations: 0 / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.4773, allocations: 3.938 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.4774, allocations: 15.98 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4774, allocations: 4 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.4774, allocations: 0 / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4775, allocations: 12.03 kB / 0.5879 GB, free: 0.5977 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 6.703e-05/0.4775, allocations: 105 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.4776, allocations: 11.81 kB / 0.5881 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.4778, allocations: 103.2 kB / 0.5882 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4778, allocations: 7.984 kB / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4778, allocations: 3.906 kB / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4778, allocations: 0 / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.4782, allocations: 387.9 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4782, allocations: 3.906 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.4782, allocations: 11.94 kB / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4782, allocations: 3.938 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4783, allocations: 4 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4783, allocations: 3.938 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4783, allocations: 0 / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001768/0.4784, allocations: 206.1 kB / 0.5888 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.4785, allocations: 100.9 kB / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.4786, allocations: 0 / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.4786, allocations: 7.938 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.4787, allocations: 7.984 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4787, allocations: 0 / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001598/0.4789, allocations: 159.2 kB / 0.589 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.4791, allocations: 39.92 kB / 0.5891 GB, free: 15.35 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.0006886/0.4798, allocations: 345.3 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.48, allocations: 47.94 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.48, allocations: 4.062 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/0.48, allocations: 35.92 kB / 0.5895 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4803, allocations: 28.08 kB / 0.5895 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.4807, allocations: 184.9 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.4811, allocations: 0.7387 MB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4811, allocations: 4.062 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of Templates: time 0.004301/0.4854, allocations: 1.696 MB / 0.5921 GB, free: 12.32 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches