Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") [: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.001502/0.001502, allocations: 183.1 kB / 8.52 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.442/1.442, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009495/0.0009494, allocations: 89.47 kB / 281.2 MB, free: 5.512 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.1734/0.1734, allocations: 44.14 MB / 376.1 MB, free: 2.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.153e-06, allocations: 0 / 444 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 61.91 MB / 0.4941 GB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2877/0.4013, allocations: 88.48 MB / 0.5805 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4015, allocations: 67.97 kB / 0.5806 GB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01481/0.4163, allocations: 5.243 MB / 0.5857 GB, free: 2.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4164, allocations: 4 kB / 0.5857 GB, free: 2.648 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.0004421/0.4168, allocations: 406.1 kB / 0.5861 GB, free: 2.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4169, allocations: 13.22 kB / 0.5861 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.4169, allocations: 7.906 kB / 0.5861 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.4172, allocations: 227.3 kB / 0.5863 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4172, allocations: 0 / 0.5863 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.4173, allocations: 0 / 0.5863 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.398e-05/0.4174, allocations: 19.98 kB / 0.5863 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4175, allocations: 53.59 kB / 0.5864 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4175, allocations: 4 kB / 0.5864 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4175, allocations: 0.6562 kB / 0.5864 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4175, allocations: 0 / 0.5864 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.4179, allocations: 273.4 kB / 0.5867 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.761e-05/0.418, allocations: 50.62 kB / 0.5867 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.4181, allocations: 20.98 kB / 0.5867 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.4181, allocations: 0 / 0.5867 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.006e-05/0.4182, allocations: 59.41 kB / 0.5868 GB, free: 1.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4182, allocations: 3.938 kB / 0.5868 GB, free: 1.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003769/0.4186, allocations: 137.2 kB / 0.5869 GB, free: 1.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.4186, allocations: 55.41 kB / 0.587 GB, free: 1.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4188, allocations: 179.6 kB / 0.5871 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4188, allocations: 29.7 kB / 0.5872 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.4188, allocations: 96.03 kB / 0.5873 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.4189, allocations: 23.66 kB / 0.5873 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.4189, allocations: 0 / 0.5873 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.419, allocations: 322.8 kB / 0.5876 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.419, allocations: 20 kB / 0.5876 GB, free: 496 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.4191, allocations: 33.7 kB / 0.5876 GB, free: 456 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.4191, allocations: 19.98 kB / 0.5877 GB, free: 436 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4192, allocations: 0 / 0.5877 GB, free: 436 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000139/0.4193, allocations: 97.44 kB / 0.5878 GB, free: 332 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.4193, allocations: 8 kB / 0.5878 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4193, allocations: 0 / 0.5878 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.4193, allocations: 0 / 0.5878 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.4194, allocations: 16.17 kB / 0.5878 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4195, allocations: 4 kB / 0.5878 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.4195, allocations: 4 kB / 0.5878 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4195, allocations: 7.938 kB / 0.5878 GB, free: 292 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 6.97e-05/0.4196, allocations: 109 kB / 0.5879 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.4196, allocations: 15.81 kB / 0.5879 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.4198, allocations: 111.1 kB / 0.588 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4198, allocations: 0 / 0.588 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4198, allocations: 0 / 0.588 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4198, allocations: 0 / 0.588 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.4202, allocations: 379.8 kB / 0.5884 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4203, allocations: 3.938 kB / 0.5884 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.4203, allocations: 8 kB / 0.5884 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4203, allocations: 4 kB / 0.5884 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4203, allocations: 288 / 0.5884 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.4203, allocations: 7.891 kB / 0.5884 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4203, allocations: 0 / 0.5884 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001696/0.4205, allocations: 210 kB / 0.5886 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.4206, allocations: 97 kB / 0.5887 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.4206, allocations: 0 / 0.5887 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.4207, allocations: 7.906 kB / 0.5887 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.4207, allocations: 7.984 kB / 0.5887 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4207, allocations: 0 / 0.5887 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001027/0.4209, allocations: 148 kB / 0.5888 GB, free: 15.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.4211, allocations: 31.92 kB / 0.5889 GB, free: 15.07 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.0006296/0.4218, allocations: 346.1 kB / 0.5892 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4219, allocations: 51.98 kB / 0.5893 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4219, allocations: 0 / 0.5893 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.4219, allocations: 39.98 kB / 0.5893 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.4222, allocations: 26.17 kB / 0.5893 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.4225, allocations: 160.5 kB / 0.5895 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.4228, allocations: 0.7312 MB / 0.5902 GB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.4228, allocations: 0 / 0.5902 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Templates: time 0.003718/0.4265, allocations: 1.657 MB / 0.5918 GB, free: 12.11 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches