Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") [: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.00111/0.00111, 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.264/1.264, allocations: 221.4 MB / 230.3 MB, free: 7.738 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.0009449/0.0009447, allocations: 85.84 kB / 281.2 MB, free: 5.543 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.197/0.197, allocations: 44.15 MB / 376.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.485e-06/8.495e-06, allocations: 4.219 kB / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 61.92 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2962/0.4378, allocations: 88.49 MB / 0.5805 GB, free: 8.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4381, allocations: 75.95 kB / 0.5806 GB, free: 8.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0157/0.4538, allocations: 5.347 MB / 0.5858 GB, free: 3.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.4539, allocations: 4 kB / 0.5858 GB, free: 3.047 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.0005208/0.4544, allocations: 414 kB / 0.5862 GB, free: 2.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4545, allocations: 13.22 kB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.4545, allocations: 15.81 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4549, allocations: 214.8 kB / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4549, allocations: 0 / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.455, allocations: 4 kB / 0.5864 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.745e-05/0.4551, allocations: 23.92 kB / 0.5865 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.4552, allocations: 53.69 kB / 0.5865 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4552, allocations: 0 / 0.5865 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4552, allocations: 0 / 0.5865 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4552, allocations: 4 kB / 0.5865 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.4557, allocations: 281.3 kB / 0.5868 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.4558, allocations: 54.62 kB / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.4558, allocations: 20.98 kB / 0.5869 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4559, allocations: 0 / 0.5869 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.456, allocations: 63.39 kB / 0.5869 GB, free: 1.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.456, allocations: 0 / 0.5869 GB, free: 1.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004251/0.4564, allocations: 137.1 kB / 0.587 GB, free: 1.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4565, allocations: 51.41 kB / 0.5871 GB, free: 1.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.4567, allocations: 201.9 kB / 0.5873 GB, free: 1.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.4567, allocations: 25.7 kB / 0.5873 GB, free: 1.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.4568, allocations: 104 kB / 0.5874 GB, free: 1.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.4568, allocations: 15.81 kB / 0.5874 GB, free: 1.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4568, allocations: 0 / 0.5874 GB, free: 1.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.457, allocations: 326.7 kB / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.457, allocations: 19.98 kB / 0.5878 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.4571, allocations: 30.47 kB / 0.5878 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.4571, allocations: 27.98 kB / 0.5878 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4571, allocations: 0 / 0.5878 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000156/0.4573, allocations: 97.42 kB / 0.5879 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4573, allocations: 5.281 kB / 0.5879 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4573, allocations: 3.984 kB / 0.5879 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4574, allocations: 7.938 kB / 0.5879 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4575, allocations: 15.98 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4575, allocations: 0 / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.4575, allocations: 4 kB / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.4576, allocations: 8.031 kB / 0.588 GB, free: 0.6406 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.045e-05/0.4576, allocations: 111.9 kB / 0.5881 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.4577, allocations: 15.81 kB / 0.5881 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.4579, allocations: 99.06 kB / 0.5882 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4579, allocations: 0 / 0.5882 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4579, allocations: 3.906 kB / 0.5882 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4579, allocations: 0 / 0.5882 GB, free: 416 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.4584, allocations: 384.1 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4584, allocations: 3.906 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.4584, allocations: 19.88 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4584, allocations: 0 / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4584, allocations: 3.938 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4585, allocations: 192 / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4585, allocations: 4 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000206/0.4587, allocations: 214.1 kB / 0.5888 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.4588, allocations: 96.91 kB / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.4588, allocations: 8 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.4589, allocations: 0 / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.4589, allocations: 7.984 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4589, allocations: 4 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001413/0.4591, allocations: 159.2 kB / 0.589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4594, allocations: 35.92 kB / 0.5891 GB, free: 15.39 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.0007189/0.4601, allocations: 335.8 kB / 0.5894 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.4602, allocations: 55.94 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4602, allocations: 4.062 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.4603, allocations: 31.92 kB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4606, allocations: 28.08 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.461, allocations: 184.9 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.4614, allocations: 0.7309 MB / 0.5904 GB, free: 14.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4614, allocations: 4.062 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of Templates: time 0.004171/0.4656, allocations: 1.692 MB / 0.592 GB, free: 12.38 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches