Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") [: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.00106/0.00106, allocations: 179.6 kB / 8.516 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.308/1.308, allocations: 221.4 MB / 230.3 MB, free: 7.754 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.0009219/0.0009216, allocations: 87.88 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.169/0.169, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.855e-06, allocations: 4 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/0.3836, allocations: 88.49 MB / 0.5805 GB, free: 8.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3838, allocations: 72.72 kB / 0.5806 GB, free: 8.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01512/0.399, allocations: 5.183 MB / 0.5856 GB, free: 3.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.399, allocations: 3.938 kB / 0.5856 GB, free: 3.133 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.000416/0.3994, allocations: 390.1 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3995, allocations: 13.22 kB / 0.586 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.3995, allocations: 7.906 kB / 0.586 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3998, allocations: 222.7 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3998, allocations: 0 / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3999, allocations: 4 kB / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.05e-05/0.4, allocations: 23.98 kB / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.49e-05/0.4001, allocations: 53.66 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4001, allocations: 0 / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4001, allocations: 3.906 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4001, allocations: 3.938 kB / 0.5863 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.4005, allocations: 273.4 kB / 0.5866 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4006, allocations: 50.69 kB / 0.5866 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.4006, allocations: 20.89 kB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4006, allocations: 0 / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.915e-05/0.4008, allocations: 55.41 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4008, allocations: 0 / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004463/0.4012, allocations: 153.1 kB / 0.5869 GB, free: 1.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4013, allocations: 51.41 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4014, allocations: 157.4 kB / 0.5871 GB, free: 1.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.4015, allocations: 29.7 kB / 0.5871 GB, free: 1.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.4015, allocations: 92.12 kB / 0.5872 GB, free: 1.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.4016, allocations: 19.72 kB / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.4016, allocations: 0 / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4017, allocations: 318.8 kB / 0.5875 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.4018, allocations: 24 kB / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.1e-05/0.4018, allocations: 33.7 kB / 0.5876 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.4019, allocations: 28 kB / 0.5876 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4019, allocations: 0 / 0.5876 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.4021, allocations: 97.47 kB / 0.5877 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.4021, allocations: 4 kB / 0.5877 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4021, allocations: 0 / 0.5877 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.4021, allocations: 0 / 0.5877 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.4022, allocations: 23.97 kB / 0.5877 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4022, allocations: 3.984 kB / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4023, allocations: 7.938 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.4023, allocations: 4.188 kB / 0.5877 GB, free: 0.8008 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.897e-05/0.4024, allocations: 108.9 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.4024, allocations: 11.84 kB / 0.5878 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.4026, allocations: 106 kB / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4026, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4027, allocations: 4 kB / 0.5879 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4027, allocations: 0 / 0.5879 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.403, allocations: 367.8 kB / 0.5883 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4031, allocations: 0 / 0.5883 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.4031, allocations: 11.98 kB / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4031, allocations: 3.938 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4031, allocations: 4 kB / 0.5883 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4031, allocations: 0 / 0.5883 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4031, allocations: 4.031 kB / 0.5883 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001879/0.4033, allocations: 210 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.4034, allocations: 96.91 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.4034, allocations: 0 / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.4035, allocations: 4 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.4036, allocations: 11.98 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.4036, allocations: 4 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.783e-05/0.4037, allocations: 133 kB / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.4039, allocations: 31.98 kB / 0.5888 GB, free: 15.61 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.000688/0.4046, allocations: 357.3 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.4048, allocations: 48 kB / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4048, allocations: 0 / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.4048, allocations: 35.92 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4051, allocations: 23.98 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.4055, allocations: 160.5 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.4058, allocations: 0.7309 MB / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4058, allocations: 0 / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of Templates: time 0.004222/0.4101, allocations: 1.635 MB / 0.5917 GB, free: 12.66 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches