Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") [: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.001824/0.001824, allocations: 183.4 kB / 8.518 MB, free: 0.4961 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.4 MB / 230.3 MB, free: 13.58 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009813/0.0009813, allocations: 95.94 kB / 281.2 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1969/0.1969, allocations: 44.14 MB / 376.1 MB, free: 11.68 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.222e-05, allocations: 4 kB / 444 MB, free: 54.39 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 61.91 MB / 0.4941 GB, free: 8.41 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3036/0.4216, allocations: 88.47 MB / 0.5805 GB, free: 10.41 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001572/0.4218, allocations: 75.97 kB / 0.5806 GB, free: 10.34 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.01444/0.4363, allocations: 5.301 MB / 0.5857 GB, free: 5.047 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4363, allocations: 4.75 kB / 0.5857 GB, free: 5.043 MB / 402.8 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.0005272/0.4369, allocations: 390.1 kB / 0.5861 GB, free: 4.617 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4369, allocations: 17.22 kB / 0.5861 GB, free: 4.602 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.437, allocations: 11.81 kB / 0.5861 GB, free: 4.59 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.4374, allocations: 218.8 kB / 0.5864 GB, free: 4.336 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4374, allocations: 4 kB / 0.5864 GB, free: 4.332 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4374, allocations: 11.89 kB / 0.5864 GB, free: 4.32 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.272e-05/0.4375, allocations: 16 kB / 0.5864 GB, free: 4.305 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.4376, allocations: 57.55 kB / 0.5864 GB, free: 4.242 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4377, allocations: 0 / 0.5864 GB, free: 4.242 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4377, allocations: 0 / 0.5864 GB, free: 4.242 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4377, allocations: 0 / 0.5864 GB, free: 4.242 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.4381, allocations: 273.4 kB / 0.5867 GB, free: 3.938 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.4383, allocations: 58.62 kB / 0.5868 GB, free: 3.871 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.4383, allocations: 16.98 kB / 0.5868 GB, free: 3.848 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4384, allocations: 4 kB / 0.5868 GB, free: 3.844 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.4385, allocations: 63.39 kB / 0.5868 GB, free: 3.77 MB / 402.8 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4385, allocations: 0 / 0.5868 GB, free: 3.77 MB / 402.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004829/0.439, allocations: 149 kB / 0.587 GB, free: 3.617 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4391, allocations: 51.41 kB / 0.587 GB, free: 3.555 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.4393, allocations: 193.3 kB / 0.5872 GB, free: 3.359 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4393, allocations: 25.7 kB / 0.5872 GB, free: 3.328 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.4393, allocations: 92.12 kB / 0.5873 GB, free: 3.234 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.4394, allocations: 23.66 kB / 0.5873 GB, free: 3.211 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4394, allocations: 0 / 0.5873 GB, free: 3.211 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4395, allocations: 322.8 kB / 0.5877 GB, free: 2.887 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.4396, allocations: 20 kB / 0.5877 GB, free: 2.867 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.4396, allocations: 37.7 kB / 0.5877 GB, free: 2.824 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.4397, allocations: 23.98 kB / 0.5877 GB, free: 2.801 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4397, allocations: 0 / 0.5877 GB, free: 2.801 MB / 402.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.4398, allocations: 97.42 kB / 0.5878 GB, free: 2.699 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4398, allocations: 6.656 kB / 0.5878 GB, free: 2.695 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4399, allocations: 0 / 0.5878 GB, free: 2.695 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.4399, allocations: 0 / 0.5878 GB, free: 2.695 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.44, allocations: 19.98 kB / 0.5878 GB, free: 2.676 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.44, allocations: 4.031 kB / 0.5879 GB, free: 2.672 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.44, allocations: 0 / 0.5879 GB, free: 2.672 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4401, allocations: 15.84 kB / 0.5879 GB, free: 2.656 MB / 402.8 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 7.048e-05/0.4401, allocations: 105 kB / 0.588 GB, free: 2.547 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.4402, allocations: 11.81 kB / 0.588 GB, free: 2.535 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.4404, allocations: 103.2 kB / 0.5881 GB, free: 2.43 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4404, allocations: 4.094 kB / 0.5881 GB, free: 2.426 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4404, allocations: 3.938 kB / 0.5881 GB, free: 2.422 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4404, allocations: 4 kB / 0.5881 GB, free: 2.418 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.4409, allocations: 383.7 kB / 0.5885 GB, free: 1.996 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4409, allocations: 0 / 0.5885 GB, free: 1.996 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.4409, allocations: 8 kB / 0.5885 GB, free: 1.988 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4409, allocations: 4 kB / 0.5885 GB, free: 1.984 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4409, allocations: 3.984 kB / 0.5885 GB, free: 1.98 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4409, allocations: 240 / 0.5885 GB, free: 1.98 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.441, allocations: 4 kB / 0.5885 GB, free: 1.977 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002195/0.4412, allocations: 210.1 kB / 0.5887 GB, free: 1.746 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.4413, allocations: 92.92 kB / 0.5888 GB, free: 1.637 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.4413, allocations: 0 / 0.5888 GB, free: 1.637 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.4414, allocations: 11.98 kB / 0.5888 GB, free: 1.625 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.4414, allocations: 4 kB / 0.5888 GB, free: 1.621 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.4415, allocations: 15.89 kB / 0.5888 GB, free: 1.605 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001354/0.4416, allocations: 148.2 kB / 0.5889 GB, free: 1.461 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0002782/0.4419, allocations: 28 kB / 0.589 GB, free: 1.434 MB / 402.8 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.0007211/0.4426, allocations: 358.2 kB / 0.5893 GB, free: 1.16 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.4427, allocations: 51.98 kB / 0.5894 GB, free: 1.109 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4428, allocations: 0 / 0.5894 GB, free: 1.109 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.4428, allocations: 31.94 kB / 0.5894 GB, free: 1.078 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.4431, allocations: 19.98 kB / 0.5894 GB, free: 1.059 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.4436, allocations: 172.5 kB / 0.5896 GB, free: 0.8555 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.4439, allocations: 0.731 MB / 0.5903 GB, free: 100 kB / 402.8 MB Notification: Performance of SimCode: time 2.51e-07/0.4439, allocations: 0 / 0.5903 GB, free: 100 kB / 402.8 MB Notification: Performance of Templates: time 0.00417/0.4481, allocations: 1.681 MB / 0.5919 GB, free: 14.43 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches