Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") [: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.002514/0.002513, allocations: 172.5 kB / 8.149 MB, free: 2.215 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.833/1.833, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001276/0.001276, allocations: 95.3 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.2631/0.2631, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.032e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3102, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/0.5486, allocations: 87.16 MB / 0.5505 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/0.5491, allocations: 71.97 kB / 0.5506 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05564/0.6048, allocations: 7.397 MB / 0.5578 GB, free: 4.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.6048, allocations: 4 kB / 0.5578 GB, free: 4.438 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.0009896/0.6058, allocations: 418.1 kB / 0.5582 GB, free: 3.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.6059, allocations: 8.031 kB / 0.5582 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.606, allocations: 7.906 kB / 0.5582 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.6066, allocations: 206.9 kB / 0.5584 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6067, allocations: 3.984 kB / 0.5584 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.6067, allocations: 0 / 0.5584 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001459/0.6069, allocations: 23.84 kB / 0.5584 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.6071, allocations: 67.39 kB / 0.5585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.6072, allocations: 0 / 0.5585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.6072, allocations: 0 / 0.5585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6072, allocations: 0 / 0.5585 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.6079, allocations: 265.4 kB / 0.5588 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.6082, allocations: 54.62 kB / 0.5588 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.6083, allocations: 16.98 kB / 0.5588 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.6084, allocations: 4 kB / 0.5588 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.6086, allocations: 67.39 kB / 0.5589 GB, free: 3.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.878e-06/0.6086, allocations: 0 / 0.5589 GB, free: 3.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008449/0.6095, allocations: 121.3 kB / 0.559 GB, free: 3.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.6096, allocations: 85.02 kB / 0.5591 GB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.6099, allocations: 136.4 kB / 0.5592 GB, free: 2.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.61, allocations: 25.7 kB / 0.5592 GB, free: 2.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6101, allocations: 154.6 kB / 0.5594 GB, free: 2.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.6102, allocations: 31.58 kB / 0.5594 GB, free: 2.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.6102, allocations: 0 / 0.5594 GB, free: 2.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6104, allocations: 318.8 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.6105, allocations: 12 kB / 0.5597 GB, free: 2.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.6107, allocations: 46.56 kB / 0.5598 GB, free: 2.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.6108, allocations: 15.98 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6108, allocations: 4 kB / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003874/0.6112, allocations: 89.52 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.6113, allocations: 12.06 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6113, allocations: 0 / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6113, allocations: 0 / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.6116, allocations: 15.98 kB / 0.5599 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6116, allocations: 4.188 kB / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.6118, allocations: 192 / 0.5599 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.6118, allocations: 11.94 kB / 0.5599 GB, free: 2.039 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 0.0001108/0.612, allocations: 35.05 kB / 0.56 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.6121, allocations: 11.81 kB / 0.56 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.6126, allocations: 114.2 kB / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.6126, allocations: 0 / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6126, allocations: 3.984 kB / 0.5601 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6126, allocations: 0 / 0.5601 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.6135, allocations: 351.9 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6136, allocations: 0 / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.6137, allocations: 15.92 kB / 0.5604 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.6138, allocations: 4.031 kB / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.6138, allocations: 4 kB / 0.5604 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6138, allocations: 0 / 0.5604 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6138, allocations: 0 / 0.5604 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000442/0.6143, allocations: 209.8 kB / 0.5606 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6144, allocations: 93 kB / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.6145, allocations: 0 / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6148, allocations: 11.91 kB / 0.5607 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.6148, allocations: 3.984 kB / 0.5607 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.6149, allocations: 4 kB / 0.5607 GB, free: 1.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002107/0.6151, allocations: 119.3 kB / 0.5609 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006023/0.6157, allocations: 39.88 kB / 0.5609 GB, free: 0.9336 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.001738/0.6175, allocations: 398.7 kB / 0.5613 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.6179, allocations: 48 kB / 0.5613 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6179, allocations: 64 / 0.5613 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.6181, allocations: 39.91 kB / 0.5614 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.6188, allocations: 23.84 kB / 0.5614 GB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.6195, allocations: 158.4 kB / 0.5615 GB, free: 284 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/0.6202, allocations: 0.7192 MB / 0.5622 GB, free: 15.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6202, allocations: 8.062 kB / 0.5622 GB, free: 15.52 MB / 410.7 MB Notification: Performance of Templates: time 0.009271/0.6295, allocations: 2.068 MB / 0.5643 GB, free: 13.45 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches