Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") [: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.001369/0.001369, allocations: 179.6 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.427/1.427, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0009704/0.0009703, allocations: 76.75 kB / 281.2 MB, free: 5.461 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.1956/0.1956, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.022e-05, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.4264, allocations: 88.48 MB / 0.5805 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4267, allocations: 78.83 kB / 0.5806 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01489/0.4416, allocations: 5.357 MB / 0.5858 GB, free: 2.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4416, allocations: 8 kB / 0.5858 GB, free: 2.977 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.0004474/0.4421, allocations: 398.1 kB / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4421, allocations: 17.16 kB / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.4422, allocations: 15.81 kB / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.4426, allocations: 222.7 kB / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4426, allocations: 0 / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.4426, allocations: 0 / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.126e-05/0.4427, allocations: 23.98 kB / 0.5865 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.4428, allocations: 57.67 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4428, allocations: 0 / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4428, allocations: 0 / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4429, allocations: 0 / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.4432, allocations: 277.4 kB / 0.5868 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4433, allocations: 54.62 kB / 0.5868 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.4434, allocations: 20.98 kB / 0.5869 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.4434, allocations: 3.984 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.201e-05/0.4435, allocations: 59.41 kB / 0.5869 GB, free: 1.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4435, allocations: 0 / 0.5869 GB, free: 1.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000406/0.4439, allocations: 133.1 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.444, allocations: 55.41 kB / 0.5871 GB, free: 1.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.4442, allocations: 197.9 kB / 0.5873 GB, free: 1.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4442, allocations: 25.7 kB / 0.5873 GB, free: 1.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.4442, allocations: 104 kB / 0.5874 GB, free: 1.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4443, allocations: 15.8 kB / 0.5874 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.4443, allocations: 0 / 0.5874 GB, free: 1.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4444, allocations: 330.7 kB / 0.5877 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-05/0.4444, allocations: 20 kB / 0.5878 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.482e-05/0.4445, allocations: 29.72 kB / 0.5878 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.4445, allocations: 28.05 kB / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4446, allocations: 0 / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000153/0.4447, allocations: 101.4 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.4447, allocations: 4 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4447, allocations: 0 / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4448, allocations: 4 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.4449, allocations: 15.98 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4449, allocations: 0 / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.4449, allocations: 4 kB / 0.5879 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4449, allocations: 4.031 kB / 0.5879 GB, free: 0.5898 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 6.915e-05/0.445, allocations: 116.9 kB / 0.5881 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.445, allocations: 12 kB / 0.5881 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.4453, allocations: 111 kB / 0.5882 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4453, allocations: 0 / 0.5882 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4453, allocations: 3.906 kB / 0.5882 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4453, allocations: 3.984 kB / 0.5882 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.4457, allocations: 379.9 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4457, allocations: 3.906 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.4457, allocations: 8 kB / 0.5886 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4457, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4458, allocations: 7.938 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4458, allocations: 192 / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4458, allocations: 4 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002034/0.446, allocations: 210.1 kB / 0.5888 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.4461, allocations: 96.91 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.4461, allocations: 4 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.4462, allocations: 0 / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.4462, allocations: 11.98 kB / 0.5889 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4462, allocations: 4 kB / 0.5889 GB, free: 15.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001302/0.4464, allocations: 159.2 kB / 0.589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.4466, allocations: 35.94 kB / 0.5891 GB, free: 15.34 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.0006526/0.4473, allocations: 345.4 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4474, allocations: 51.98 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.4474, allocations: 4.062 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.4475, allocations: 31.94 kB / 0.5895 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.4478, allocations: 28.08 kB / 0.5895 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.4482, allocations: 184.9 kB / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.4485, allocations: 0.7348 MB / 0.5904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4485, allocations: 4.062 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of Templates: time 0.003939/0.4525, allocations: 1.696 MB / 0.5921 GB, free: 12.3 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches