Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [: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.0009919/0.0009919, allocations: 174.8 kB / 8.518 MB, free: 1.828 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.411/1.411, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009931/0.0009932, allocations: 80.75 kB / 281.2 MB, free: 5.469 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.1858/0.1858, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.19e-05, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 61.93 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3114/0.4327, allocations: 88.76 MB / 0.5808 GB, free: 8.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4329, allocations: 75.5 kB / 0.5809 GB, free: 8.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02982/0.4628, allocations: 10.94 MB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.598e-05/0.4628, allocations: 16.11 kB / 0.5916 GB, free: 13.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008505/0.4637, allocations: 0.6394 MB / 0.5922 GB, free: 12.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4637, allocations: 8.031 kB / 0.5922 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.373e-05/0.4638, allocations: 51.34 kB / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.4646, allocations: 427 kB / 0.5927 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.4647, allocations: 7.984 kB / 0.5927 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.4647, allocations: 12 kB / 0.5927 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001918/0.4649, allocations: 87.95 kB / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.4652, allocations: 202.9 kB / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4652, allocations: 0 / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.4652, allocations: 4 kB / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4652, allocations: 0 / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009166/0.4661, allocations: 0.8571 MB / 0.5938 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.4665, allocations: 253.8 kB / 0.594 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4666, allocations: 84.41 kB / 0.5941 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4667, allocations: 4 kB / 0.5941 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.4669, allocations: 199.5 kB / 0.5943 GB, free: 10.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.006e-06/0.4669, allocations: 4 kB / 0.5943 GB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.00143/0.4684, allocations: 0.7724 MB / 0.5951 GB, free: 9.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.4685, allocations: 170.2 kB / 0.5952 GB, free: 9.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.4691, allocations: 0.5255 MB / 0.5957 GB, free: 8.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.4691, allocations: 29.7 kB / 0.5958 GB, free: 8.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.4692, allocations: 141.4 kB / 0.5959 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4693, allocations: 118.4 kB / 0.596 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.4694, allocations: 0 / 0.596 GB, free: 8.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4695, allocations: 362.8 kB / 0.5964 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.4697, allocations: 96.8 kB / 0.5965 GB, free: 7.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.4699, allocations: 168 kB / 0.5966 GB, free: 7.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4701, allocations: 108.3 kB / 0.5967 GB, free: 7.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4701, allocations: 0 / 0.5967 GB, free: 7.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005351/0.4706, allocations: 353 kB / 0.5971 GB, free: 7.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4706, allocations: 8 kB / 0.5971 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4706, allocations: 80 / 0.5971 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4707, allocations: 4 kB / 0.5971 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.471, allocations: 95.77 kB / 0.5972 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.471, allocations: 12.14 kB / 0.5972 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.4712, allocations: 11.98 kB / 0.5972 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.4713, allocations: 20 kB / 0.5972 GB, free: 6.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001307/0.4714, allocations: 131.4 kB / 0.5973 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.4715, allocations: 60.27 kB / 0.5974 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007026/0.4722, allocations: 405.1 kB / 0.5978 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.4723, allocations: 8 kB / 0.5978 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4723, allocations: 0 / 0.5978 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.4723, allocations: 7.938 kB / 0.5978 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.4737, allocations: 1.226 MB / 0.599 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4737, allocations: 0 / 0.599 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4739, allocations: 64.38 kB / 0.599 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.4739, allocations: 7.906 kB / 0.5991 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.474, allocations: 12.09 kB / 0.5991 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.474, allocations: 11.98 kB / 0.5991 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.474, allocations: 4 kB / 0.5991 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000732/0.4747, allocations: 0.8701 MB / 0.5999 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4749, allocations: 160.3 kB / 0.6001 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.475, allocations: 7.984 kB / 0.6001 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.4754, allocations: 19.98 kB / 0.6001 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.4755, allocations: 27.97 kB / 0.6001 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.4755, allocations: 23.98 kB / 0.6002 GB, free: 3.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004579/0.476, allocations: 430.8 kB / 0.6006 GB, free: 3.328 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005913/0.4766, allocations: 87.94 kB / 0.6007 GB, free: 3.242 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0007665/0.4773, allocations: 376.7 kB / 0.601 GB, free: 2.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.4778, allocations: 259.5 kB / 0.6013 GB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4778, allocations: 4 kB / 0.6013 GB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.478, allocations: 143.8 kB / 0.6014 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.4788, allocations: 123.9 kB / 0.6015 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4801, allocations: 0.7042 MB / 0.6022 GB, free: 1.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.4807, allocations: 0.9093 MB / 0.6031 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4807, allocations: 0 / 0.6031 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of Templates: time 0.0106/0.4913, allocations: 5.485 MB / 0.6085 GB, free: 11.29 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches