Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") [: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.00105/0.00105, allocations: 178.7 kB / 8.519 MB, free: 1.859 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.332/1.332, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.001026/0.001026, allocations: 91.34 kB / 281.2 MB, free: 5.492 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.2082/0.2082, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.716e-06/8.746e-06, allocations: 4.219 kB / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 61.9 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3213/0.4413, allocations: 88.45 MB / 0.5805 GB, free: 8.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4416, allocations: 71.97 kB / 0.5805 GB, free: 8.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01426/0.4559, allocations: 5.089 MB / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.4559, allocations: 0 / 0.5855 GB, free: 3.27 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.0004062/0.4564, allocations: 398.1 kB / 0.5859 GB, free: 2.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4564, allocations: 17.16 kB / 0.5859 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.4565, allocations: 7.906 kB / 0.5859 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.4567, allocations: 226.7 kB / 0.5861 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.4568, allocations: 4 kB / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.4568, allocations: 0 / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.233e-05/0.4569, allocations: 19.98 kB / 0.5861 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.457, allocations: 49.69 kB / 0.5862 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.457, allocations: 0 / 0.5862 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.457, allocations: 3.906 kB / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.457, allocations: 3.938 kB / 0.5862 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.4574, allocations: 273.4 kB / 0.5865 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4575, allocations: 46.7 kB / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.4575, allocations: 24.88 kB / 0.5865 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.4576, allocations: 0 / 0.5865 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.232e-05/0.4576, allocations: 59.41 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.4576, allocations: 4 kB / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003885/0.458, allocations: 137.1 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.4581, allocations: 51.41 kB / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4582, allocations: 165.4 kB / 0.5869 GB, free: 1.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4583, allocations: 25.7 kB / 0.587 GB, free: 1.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.4583, allocations: 92.12 kB / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.4583, allocations: 23.7 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4583, allocations: 0 / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4585, allocations: 322.8 kB / 0.5874 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.4585, allocations: 16 kB / 0.5874 GB, free: 1.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.4586, allocations: 41.66 kB / 0.5874 GB, free: 1.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.4586, allocations: 19.97 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4586, allocations: 0 / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.4588, allocations: 93.5 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4588, allocations: 5.094 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4588, allocations: 0 / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4588, allocations: 4 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.4589, allocations: 23.95 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.706e-06/0.4589, allocations: 0 / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.459, allocations: 7.938 kB / 0.5876 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.459, allocations: 0 / 0.5876 GB, free: 0.9414 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 8.812e-05/0.4591, allocations: 113.1 kB / 0.5877 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.4591, allocations: 7.906 kB / 0.5877 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.4593, allocations: 110 kB / 0.5878 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4593, allocations: 8 kB / 0.5878 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.4593, allocations: 0 / 0.5878 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4593, allocations: 3.984 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.4597, allocations: 364 kB / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4597, allocations: 0 / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.4598, allocations: 8.188 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4598, allocations: 7.938 kB / 0.5882 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4598, allocations: 11.98 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4598, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4598, allocations: 4.109 kB / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001832/0.46, allocations: 209.8 kB / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.4601, allocations: 88.92 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4601, allocations: 4 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.4602, allocations: 3.984 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.4602, allocations: 12 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4602, allocations: 4 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001037/0.4604, allocations: 137.1 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.4606, allocations: 24 kB / 0.5886 GB, free: 15.74 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.0006532/0.4613, allocations: 357 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4614, allocations: 52 kB / 0.589 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4614, allocations: 3.938 kB / 0.589 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.596e-05/0.4615, allocations: 24 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4618, allocations: 23.97 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.4622, allocations: 168.5 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.4625, allocations: 0.7192 MB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.4625, allocations: 4 kB / 0.59 GB, free: 14.42 MB / 410.7 MB Notification: Performance of Templates: time 0.004036/0.4665, allocations: 1.63 MB / 0.5915 GB, free: 12.8 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches