Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") [: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.001062/0.001062, allocations: 179.8 kB / 8.521 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.213/1.213, allocations: 221.4 MB / 230.3 MB, free: 7.668 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.000863/0.0008629, allocations: 86.11 kB / 281.2 MB, free: 5.477 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.1663/0.1663, allocations: 44.14 MB / 376.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.204e-05/1.218e-05, allocations: 7.938 kB / 444 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 61.91 MB / 0.4941 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.4335, allocations: 88.48 MB / 0.5805 GB, free: 8.211 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4337, allocations: 75.31 kB / 0.5806 GB, free: 8.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01502/0.4487, allocations: 5.471 MB / 0.5859 GB, free: 2.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4488, allocations: 0 / 0.5859 GB, free: 2.684 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.0004672/0.4493, allocations: 406.1 kB / 0.5863 GB, free: 2.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.4493, allocations: 17.22 kB / 0.5863 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4494, allocations: 11.81 kB / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.4497, allocations: 238.1 kB / 0.5866 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4497, allocations: 8 kB / 0.5866 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4498, allocations: 7.906 kB / 0.5866 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.014e-05/0.4498, allocations: 15.98 kB / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.4499, allocations: 49.62 kB / 0.5866 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4499, allocations: 0 / 0.5866 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.45, allocations: 7.984 kB / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.45, allocations: 0 / 0.5866 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.4503, allocations: 281.4 kB / 0.5869 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.4504, allocations: 54.64 kB / 0.587 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.4505, allocations: 20.97 kB / 0.587 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4505, allocations: 3.984 kB / 0.587 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/0.4506, allocations: 59.41 kB / 0.587 GB, free: 1.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4506, allocations: 0 / 0.587 GB, free: 1.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004482/0.451, allocations: 149 kB / 0.5872 GB, free: 1.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4511, allocations: 51.41 kB / 0.5872 GB, free: 1.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.4514, allocations: 226 kB / 0.5875 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4514, allocations: 29.7 kB / 0.5875 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.4514, allocations: 92.12 kB / 0.5876 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.4515, allocations: 27.64 kB / 0.5876 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4515, allocations: 0 / 0.5876 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4516, allocations: 322.8 kB / 0.5879 GB, free: 460 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.4517, allocations: 24 kB / 0.5879 GB, free: 436 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.4517, allocations: 34.45 kB / 0.588 GB, free: 396 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.4518, allocations: 23.94 kB / 0.588 GB, free: 372 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.4518, allocations: 0 / 0.588 GB, free: 372 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001454/0.4519, allocations: 93.48 kB / 0.5881 GB, free: 272 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.452, allocations: 4 kB / 0.5881 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.452, allocations: 192 / 0.5881 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.452, allocations: 4 kB / 0.5881 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.4521, allocations: 19.88 kB / 0.5881 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4521, allocations: 7.938 kB / 0.5881 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.4522, allocations: 7.984 kB / 0.5881 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4522, allocations: 4 kB / 0.5881 GB, free: 224 kB / 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 0.0001059/0.4523, allocations: 105 kB / 0.5882 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.4523, allocations: 19.8 kB / 0.5882 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.4525, allocations: 103.2 kB / 0.5883 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4526, allocations: 4 kB / 0.5883 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4526, allocations: 4 kB / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4526, allocations: 3.906 kB / 0.5883 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.453, allocations: 395.8 kB / 0.5887 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.453, allocations: 0 / 0.5887 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.4531, allocations: 16 kB / 0.5887 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4531, allocations: 3.906 kB / 0.5887 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4531, allocations: 3.984 kB / 0.5887 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4531, allocations: 4 kB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4531, allocations: 32 / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001952/0.4533, allocations: 210 kB / 0.589 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.4534, allocations: 92.92 kB / 0.589 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4534, allocations: 8 kB / 0.589 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.4535, allocations: 7.891 kB / 0.5891 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.4535, allocations: 8 kB / 0.5891 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4536, allocations: 4 kB / 0.5891 GB, free: 15.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001525/0.4537, allocations: 192.2 kB / 0.5893 GB, free: 14.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.454, allocations: 31.94 kB / 0.5893 GB, free: 14.92 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.0006852/0.4547, allocations: 358 kB / 0.5896 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.4548, allocations: 47.98 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4549, allocations: 4 kB / 0.5897 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.4549, allocations: 27.94 kB / 0.5897 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4552, allocations: 27.77 kB / 0.5897 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.4557, allocations: 216.7 kB / 0.5899 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.456, allocations: 0.7424 MB / 0.5907 GB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.456, allocations: 0 / 0.5907 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.004614/0.4607, allocations: 1.753 MB / 0.5924 GB, free: 11.8 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches