Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") [: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.002835/0.002835, allocations: 172.5 kB / 8.147 MB, free: 2.223 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.785/1.785, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.002295/0.002294, allocations: 95.66 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.3447/0.3447, allocations: 43.51 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.419e-05, allocations: 4 kB / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2857, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4479, allocations: 86.75 MB / 0.5501 GB, free: 12.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4483, allocations: 67.95 kB / 0.5502 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02831/0.4766, allocations: 6.031 MB / 0.5561 GB, free: 6.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.695e-05/0.4767, allocations: 4 kB / 0.5561 GB, free: 6.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001165/0.4779, allocations: 0.587 MB / 0.5566 GB, free: 5.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.478, allocations: 8.031 kB / 0.5566 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4782, allocations: 51.34 kB / 0.5567 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.4797, allocations: 471.1 kB / 0.5571 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4798, allocations: 4 kB / 0.5571 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4798, allocations: 8 kB / 0.5572 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001569/0.48, allocations: 31.97 kB / 0.5572 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.4802, allocations: 87.25 kB / 0.5573 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4802, allocations: 0 / 0.5573 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.4802, allocations: 0 / 0.5573 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4802, allocations: 0 / 0.5573 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.4809, allocations: 354.8 kB / 0.5576 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.4812, allocations: 93.34 kB / 0.5577 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4813, allocations: 37.66 kB / 0.5577 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.4813, allocations: 7.922 kB / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.4816, allocations: 101.2 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/0.4816, allocations: 0 / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005107/0.4821, allocations: 144.9 kB / 0.558 GB, free: 4.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.4822, allocations: 77.11 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.4843, allocations: 0.881 MB / 0.5589 GB, free: 3.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.4844, allocations: 25.7 kB / 0.5589 GB, free: 3.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.4844, allocations: 150.6 kB / 0.5591 GB, free: 2.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.4845, allocations: 27.66 kB / 0.5591 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.4846, allocations: 0 / 0.5591 GB, free: 2.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4847, allocations: 326.7 kB / 0.5594 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.4848, allocations: 20 kB / 0.5594 GB, free: 2.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4849, allocations: 55.42 kB / 0.5595 GB, free: 2.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.4851, allocations: 31.92 kB / 0.5595 GB, free: 2.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4851, allocations: 4 kB / 0.5595 GB, free: 2.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003196/0.4854, allocations: 105.6 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4854, allocations: 7.281 kB / 0.5596 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4855, allocations: 4 kB / 0.5596 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4855, allocations: 0 / 0.5596 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.4857, allocations: 19.98 kB / 0.5596 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4858, allocations: 7.906 kB / 0.5597 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4859, allocations: 8.234 kB / 0.5597 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.4859, allocations: 8.062 kB / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 8.966e-05/0.486, allocations: 46.91 kB / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4862, allocations: 51.34 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.4868, allocations: 169.5 kB / 0.5599 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.4868, allocations: 0 / 0.5599 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4868, allocations: 4 kB / 0.5599 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4868, allocations: 3.906 kB / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.4874, allocations: 353.8 kB / 0.5603 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4874, allocations: 4 kB / 0.5603 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-05/0.4875, allocations: 12 kB / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4876, allocations: 0 / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4876, allocations: 3.906 kB / 0.5603 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4876, allocations: 4 kB / 0.5603 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4876, allocations: 0 / 0.5603 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004445/0.4881, allocations: 196 kB / 0.5605 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.4885, allocations: 200.3 kB / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4886, allocations: 0 / 0.5607 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.4888, allocations: 7.984 kB / 0.5607 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4889, allocations: 11.98 kB / 0.5607 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4889, allocations: 4 kB / 0.5607 GB, free: 1.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001408/0.4903, allocations: 0.698 MB / 0.5614 GB, free: 448 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004623/0.4908, allocations: 68 kB / 0.5614 GB, free: 380 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009568/0.4918, allocations: 321.8 kB / 0.5617 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.4921, allocations: 79.86 kB / 0.5618 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4921, allocations: 0 / 0.5618 GB, free: 12 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.4922, allocations: 40.03 kB / 0.5619 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.4929, allocations: 61.97 kB / 0.5619 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.4952, allocations: 0.7874 MB / 0.5627 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008493/0.496, allocations: 0.8928 MB / 0.5636 GB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4961, allocations: 3.938 kB / 0.5636 GB, free: 14.16 MB / 410.7 MB Notification: Performance of Templates: time 0.01408/0.5102, allocations: 5.434 MB / 0.5689 GB, free: 8.727 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches