Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") [: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.00158/0.00158, allocations: 172.9 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.692/1.692, 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.001256/0.001255, allocations: 90.72 kB / 261.8 MB, free: 13.63 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.2705/0.2705, allocations: 43.5 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.887e-06, allocations: 224 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.4486, allocations: 87.87 MB / 0.5512 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.449, allocations: 67.97 kB / 0.5513 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01803/0.467, allocations: 3.858 MB / 0.555 GB, free: 7.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.4671, allocations: 4 kB / 0.555 GB, free: 7.281 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007609/0.4678, allocations: 463.8 kB / 0.5555 GB, free: 6.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4679, allocations: 12.03 kB / 0.5555 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.468, allocations: 11.81 kB / 0.5555 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.4685, allocations: 238.7 kB / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.4685, allocations: 0 / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.4685, allocations: 7.906 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001465/0.4687, allocations: 31.98 kB / 0.5558 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.4689, allocations: 98.36 kB / 0.5559 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.469, allocations: 0 / 0.5559 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.469, allocations: 3.938 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.469, allocations: 0 / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.4698, allocations: 497.5 kB / 0.5563 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.4702, allocations: 78.61 kB / 0.5564 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.4703, allocations: 32.84 kB / 0.5564 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4703, allocations: 8 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.4705, allocations: 67.39 kB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.4705, allocations: 0 / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000328/0.4708, allocations: 89.44 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4709, allocations: 55.41 kB / 0.5567 GB, free: 5.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.4712, allocations: 170.7 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.4712, allocations: 25.7 kB / 0.5568 GB, free: 5.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4713, allocations: 162.4 kB / 0.557 GB, free: 5.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.4714, allocations: 31.64 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.4714, allocations: 0 / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4715, allocations: 314.8 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.4716, allocations: 20 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4718, allocations: 52.28 kB / 0.5574 GB, free: 4.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.4719, allocations: 47.89 kB / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4719, allocations: 0 / 0.5574 GB, free: 4.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002796/0.4722, allocations: 101.5 kB / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4722, allocations: 11.28 kB / 0.5575 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4722, allocations: 0 / 0.5575 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4723, allocations: 4 kB / 0.5575 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.4725, allocations: 28.11 kB / 0.5576 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.4725, allocations: 4 kB / 0.5576 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4726, allocations: 11.84 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.4727, allocations: 4 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.373e-05/0.4727, allocations: 37.75 kB / 0.5576 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.4728, allocations: 15.81 kB / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.4731, allocations: 111 kB / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4731, allocations: 0 / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4731, allocations: 0 / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4731, allocations: 0 / 0.5578 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.4734, allocations: 186.1 kB / 0.5579 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4734, allocations: 0 / 0.5579 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4736, allocations: 16 kB / 0.5579 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4736, allocations: 0 / 0.5579 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.4736, allocations: 3.984 kB / 0.5579 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.4736, allocations: 7.906 kB / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4736, allocations: 4 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003741/0.474, allocations: 162.1 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.4741, allocations: 92.91 kB / 0.5582 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.4742, allocations: 4 kB / 0.5582 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4743, allocations: 11.98 kB / 0.5582 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4744, allocations: 7.984 kB / 0.5582 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.4744, allocations: 4.062 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001687/0.4746, allocations: 136.1 kB / 0.5584 GB, free: 3.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.4749, allocations: 32.06 kB / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009039/0.4758, allocations: 315.6 kB / 0.5587 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.4761, allocations: 67.92 kB / 0.5588 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4761, allocations: 448 / 0.5588 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4762, allocations: 43.88 kB / 0.5588 GB, free: 3.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.4766, allocations: 36.06 kB / 0.5588 GB, free: 3.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.4773, allocations: 201.4 kB / 0.559 GB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.4777, allocations: 0.7391 MB / 0.5597 GB, free: 2.09 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4777, allocations: 4 kB / 0.5597 GB, free: 2.086 MB / 394.7 MB Notification: Performance of Templates: time 0.005869/0.4836, allocations: 2.171 MB / 0.5619 GB, free: 15.91 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches