Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") [: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.0009727/0.0009727, allocations: 178.8 kB / 8.518 MB, free: 1.84 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.16/1.16, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0008448/0.0008447, allocations: 86.84 kB / 281.2 MB, free: 5.441 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.1615/0.1615, allocations: 44.15 MB / 376.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.404e-06, allocations: 4.219 kB / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 61.91 MB / 0.4941 GB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4296, allocations: 88.44 MB / 0.5805 GB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4299, allocations: 71.95 kB / 0.5805 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01411/0.4441, allocations: 5.187 MB / 0.5856 GB, free: 3.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4441, allocations: 15.98 kB / 0.5856 GB, free: 3.137 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.0004135/0.4445, allocations: 394.1 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4446, allocations: 17.2 kB / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.4446, allocations: 15.81 kB / 0.586 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.4449, allocations: 214.9 kB / 0.5862 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.445, allocations: 0 / 0.5862 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.445, allocations: 11.84 kB / 0.5862 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.158e-05/0.4451, allocations: 20 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.172e-05/0.4452, allocations: 61.59 kB / 0.5863 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4452, allocations: 3.938 kB / 0.5863 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4452, allocations: 0 / 0.5863 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4452, allocations: 0 / 0.5863 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.4455, allocations: 273.4 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.4456, allocations: 46.7 kB / 0.5866 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.4457, allocations: 20.97 kB / 0.5866 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4457, allocations: 3.938 kB / 0.5866 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.681e-05/0.4458, allocations: 63.41 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4458, allocations: 0 / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003836/0.4462, allocations: 141.1 kB / 0.5868 GB, free: 1.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.4462, allocations: 51.41 kB / 0.5869 GB, free: 1.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4464, allocations: 197.3 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4464, allocations: 29.64 kB / 0.5871 GB, free: 1.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.4465, allocations: 92.12 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.4465, allocations: 23.66 kB / 0.5872 GB, free: 1.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.4465, allocations: 0 / 0.5872 GB, free: 1.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4466, allocations: 326.8 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.4467, allocations: 15.98 kB / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.136e-05/0.4467, allocations: 37.72 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.36e-05/0.4468, allocations: 19.98 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4468, allocations: 0 / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.4469, allocations: 101.4 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4469, allocations: 5.094 kB / 0.5877 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4469, allocations: 4 kB / 0.5877 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.447, allocations: 0 / 0.5877 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.4471, allocations: 15.98 kB / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.4471, allocations: 0 / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.4471, allocations: 8.031 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4471, allocations: 7.906 kB / 0.5877 GB, free: 0.7539 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.345e-05/0.4472, allocations: 103.7 kB / 0.5878 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.4472, allocations: 15.81 kB / 0.5878 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.4474, allocations: 111.1 kB / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4474, allocations: 0 / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4475, allocations: 0 / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4475, allocations: 0 / 0.588 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.4478, allocations: 383.8 kB / 0.5883 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4478, allocations: 3.938 kB / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.4479, allocations: 11.98 kB / 0.5883 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4479, allocations: 0 / 0.5883 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4479, allocations: 4 kB / 0.5883 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4479, allocations: 3.938 kB / 0.5883 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4479, allocations: 0 / 0.5883 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001756/0.4481, allocations: 206 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.4482, allocations: 96.92 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4482, allocations: 3.984 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.4483, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.4483, allocations: 3.938 kB / 0.5886 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4484, allocations: 11.89 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000133/0.4485, allocations: 156.4 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.4488, allocations: 28 kB / 0.5888 GB, free: 15.53 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.000653/0.4494, allocations: 349.4 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4495, allocations: 59.92 kB / 0.5892 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4496, allocations: 4 kB / 0.5892 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.4496, allocations: 27.94 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.4499, allocations: 19.98 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.4502, allocations: 172.5 kB / 0.5894 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.4506, allocations: 0.731 MB / 0.5901 GB, free: 14.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4506, allocations: 0 / 0.5901 GB, free: 14.2 MB / 410.7 MB Notification: Performance of Templates: time 0.003954/0.4545, allocations: 1.667 MB / 0.5918 GB, free: 12.54 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches