Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") [: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.001846/0.001846, allocations: 179.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.324/1.324, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0008788/0.0008788, allocations: 80.73 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.1675/0.1675, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.128e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4302, allocations: 88.48 MB / 0.5805 GB, free: 8.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4305, allocations: 72.72 kB / 0.5806 GB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01545/0.4459, allocations: 5.25 MB / 0.5857 GB, free: 3.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.446, allocations: 7.938 kB / 0.5857 GB, free: 3.094 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.0005024/0.4465, allocations: 402 kB / 0.5861 GB, free: 2.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4466, allocations: 17.22 kB / 0.5861 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.4467, allocations: 7.906 kB / 0.5861 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.447, allocations: 215.5 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4471, allocations: 0 / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4471, allocations: 7.984 kB / 0.5863 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.743e-05/0.4472, allocations: 19.98 kB / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4473, allocations: 57.52 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4473, allocations: 0 / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4473, allocations: 4 kB / 0.5864 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.4473, allocations: 3.938 kB / 0.5864 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4478, allocations: 269.4 kB / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4479, allocations: 50.69 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.448, allocations: 16.98 kB / 0.5867 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.448, allocations: 4 kB / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.4482, allocations: 71.33 kB / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4482, allocations: 0 / 0.5868 GB, free: 1.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004923/0.4487, allocations: 129.3 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.4487, allocations: 51.41 kB / 0.587 GB, free: 1.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.4489, allocations: 179.6 kB / 0.5871 GB, free: 1.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.449, allocations: 25.7 kB / 0.5872 GB, free: 1.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.4491, allocations: 100 kB / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.4491, allocations: 27.64 kB / 0.5873 GB, free: 1.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.4491, allocations: 0 / 0.5873 GB, free: 1.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4493, allocations: 330.8 kB / 0.5876 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.4493, allocations: 12 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.4494, allocations: 29.72 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.4494, allocations: 23.98 kB / 0.5877 GB, free: 0.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.4494, allocations: 0 / 0.5877 GB, free: 0.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000152/0.4496, allocations: 101.5 kB / 0.5878 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.4496, allocations: 4 kB / 0.5878 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4496, allocations: 0 / 0.5878 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4496, allocations: 4 kB / 0.5878 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4498, allocations: 19.98 kB / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4498, allocations: 0 / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.4498, allocations: 4 kB / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4498, allocations: 192 / 0.5878 GB, free: 0.7383 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.328e-05/0.4499, allocations: 113 kB / 0.5879 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.45, allocations: 15.75 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.4502, allocations: 99.02 kB / 0.588 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4502, allocations: 4 kB / 0.588 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4502, allocations: 0 / 0.588 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4502, allocations: 3.984 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.4506, allocations: 371.8 kB / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4506, allocations: 4.031 kB / 0.5884 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.4507, allocations: 15.98 kB / 0.5884 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4507, allocations: 3.938 kB / 0.5884 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4507, allocations: 4 kB / 0.5884 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.4507, allocations: 3.906 kB / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4507, allocations: 0 / 0.5884 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002046/0.4509, allocations: 210 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.451, allocations: 85.02 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.451, allocations: 7.984 kB / 0.5887 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.4511, allocations: 3.906 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.4512, allocations: 8 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4512, allocations: 7.984 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001309/0.4513, allocations: 147.9 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4516, allocations: 31.94 kB / 0.5889 GB, free: 15.52 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.0007591/0.4524, allocations: 353.5 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.4525, allocations: 55.92 kB / 0.5893 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4525, allocations: 0 / 0.5893 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.4526, allocations: 27.98 kB / 0.5893 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4529, allocations: 32.11 kB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.4533, allocations: 164.5 kB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.4537, allocations: 0.7231 MB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4537, allocations: 0 / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of Templates: time 0.004428/0.4581, allocations: 1.648 MB / 0.5918 GB, free: 12.57 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches