Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 172 kB / 8.148 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 86.64 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2893/0.2893, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.066e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2886, allocations: 58.85 MB / 476.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.4684, allocations: 87.16 MB / 0.5505 GB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4687, allocations: 71.97 kB / 0.5506 GB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03397/0.5027, allocations: 7.401 MB / 0.5578 GB, free: 4.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.5027, allocations: 4 kB / 0.5578 GB, free: 4.445 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.0007537/0.5035, allocations: 414.1 kB / 0.5582 GB, free: 3.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5036, allocations: 12.02 kB / 0.5582 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.5036, allocations: 7.906 kB / 0.5582 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.504, allocations: 206.9 kB / 0.5584 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.5041, allocations: 0 / 0.5584 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.5041, allocations: 3.984 kB / 0.5584 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.936e-05/0.5042, allocations: 23.84 kB / 0.5584 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.5044, allocations: 63.39 kB / 0.5585 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5044, allocations: 4 kB / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5044, allocations: 0 / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5045, allocations: 0 / 0.5585 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.5049, allocations: 273.4 kB / 0.5588 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.5051, allocations: 50.62 kB / 0.5588 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.5051, allocations: 16.98 kB / 0.5588 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.5052, allocations: 0 / 0.5588 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.5053, allocations: 67.39 kB / 0.5589 GB, free: 3.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.5053, allocations: 0 / 0.5589 GB, free: 3.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005598/0.5059, allocations: 129.3 kB / 0.559 GB, free: 3.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.506, allocations: 85.02 kB / 0.5591 GB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.5062, allocations: 136.4 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5062, allocations: 25.7 kB / 0.5593 GB, free: 2.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.5063, allocations: 150.6 kB / 0.5594 GB, free: 2.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.5064, allocations: 31.58 kB / 0.5594 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.5064, allocations: 8 kB / 0.5594 GB, free: 2.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5065, allocations: 310.8 kB / 0.5597 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.5066, allocations: 16 kB / 0.5597 GB, free: 2.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.5067, allocations: 42.56 kB / 0.5598 GB, free: 2.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.5068, allocations: 16.19 kB / 0.5598 GB, free: 2.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5068, allocations: 3.984 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002264/0.507, allocations: 93.45 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5071, allocations: 12.06 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5071, allocations: 0 / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5071, allocations: 0 / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.5073, allocations: 15.98 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5073, allocations: 4 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.5074, allocations: 0 / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.5074, allocations: 8 kB / 0.5599 GB, free: 2.043 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 7.186e-05/0.5075, allocations: 35.05 kB / 0.56 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.5076, allocations: 15.81 kB / 0.56 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.5079, allocations: 102.2 kB / 0.5601 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.5079, allocations: 4 kB / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5079, allocations: 0 / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.508, allocations: 0 / 0.5601 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.5085, allocations: 355.9 kB / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5086, allocations: 0 / 0.5604 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.5087, allocations: 15.92 kB / 0.5604 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5087, allocations: 4.031 kB / 0.5604 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5087, allocations: 4 kB / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5087, allocations: 0 / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5087, allocations: 0 / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002896/0.509, allocations: 205.9 kB / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.5091, allocations: 81.02 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.5092, allocations: 16.17 kB / 0.5607 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.5093, allocations: 7.906 kB / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.5094, allocations: 4 kB / 0.5607 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.5094, allocations: 11.97 kB / 0.5608 GB, free: 1.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001355/0.5095, allocations: 111.3 kB / 0.5609 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.5099, allocations: 47.86 kB / 0.5609 GB, free: 0.9375 MB / 394.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.001084/0.511, allocations: 388.4 kB / 0.5613 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.5113, allocations: 48 kB / 0.5613 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5113, allocations: 4.062 kB / 0.5613 GB, free: 0.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.5114, allocations: 35.92 kB / 0.5614 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.5119, allocations: 27.97 kB / 0.5614 GB, free: 492 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.5124, allocations: 150.4 kB / 0.5615 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.5129, allocations: 0.731 MB / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5129, allocations: 0 / 0.5622 GB, free: 15.54 MB / 410.7 MB Notification: Performance of Templates: time 0.005966/0.5189, allocations: 2.071 MB / 0.5643 GB, free: 13.46 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches