Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") [: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.002488/0.002488, allocations: 171 kB / 8.147 MB, free: 2.211 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.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001255/0.001255, allocations: 93.19 kB / 261.8 MB, free: 13.61 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.289/0.289, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.879e-06/1.008e-05, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3324, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.526, allocations: 86.85 MB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5263, allocations: 75.23 kB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02313/0.5494, allocations: 4.895 MB / 0.555 GB, free: 7.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.5495, allocations: 3.938 kB / 0.555 GB, free: 7.234 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.0005519/0.5501, allocations: 390.2 kB / 0.5554 GB, free: 6.809 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5501, allocations: 8.031 kB / 0.5554 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.5502, allocations: 7.906 kB / 0.5554 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.5506, allocations: 221.5 kB / 0.5556 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5506, allocations: 4 kB / 0.5557 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.5507, allocations: 0 / 0.5557 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.755e-05/0.5508, allocations: 20 kB / 0.5557 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.5509, allocations: 49.67 kB / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5509, allocations: 3.906 kB / 0.5557 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.551, allocations: 4 kB / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.551, allocations: 0 / 0.5557 GB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.5514, allocations: 269.4 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5516, allocations: 50.61 kB / 0.556 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.5517, allocations: 24.97 kB / 0.5561 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.5517, allocations: 4 kB / 0.5561 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.5518, allocations: 55.41 kB / 0.5561 GB, free: 5.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.388e-06/0.5518, allocations: 3.984 kB / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005498/0.5524, allocations: 141.1 kB / 0.5562 GB, free: 5.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5524, allocations: 55.34 kB / 0.5563 GB, free: 5.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.5527, allocations: 166.2 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5527, allocations: 25.7 kB / 0.5565 GB, free: 5.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.5528, allocations: 154.6 kB / 0.5566 GB, free: 5.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.5529, allocations: 23.7 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.5529, allocations: 0 / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5531, allocations: 318.8 kB / 0.557 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.5531, allocations: 19.98 kB / 0.557 GB, free: 5.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.5532, allocations: 33.7 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.5533, allocations: 23.92 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5533, allocations: 3.906 kB / 0.557 GB, free: 5 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.5535, allocations: 85.69 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5536, allocations: 7.281 kB / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5536, allocations: 0 / 0.5571 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5536, allocations: 4 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5538, allocations: 19.92 kB / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5538, allocations: 192 / 0.5571 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.5539, allocations: 8 kB / 0.5572 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5539, allocations: 0 / 0.5572 GB, free: 4.875 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.134e-05/0.554, allocations: 39.05 kB / 0.5572 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.554, allocations: 7.906 kB / 0.5572 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.5543, allocations: 106.1 kB / 0.5573 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5544, allocations: 3.906 kB / 0.5573 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5544, allocations: 4 kB / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5544, allocations: 0 / 0.5573 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.555, allocations: 367.8 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.555, allocations: 4.031 kB / 0.5577 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.5551, allocations: 12 kB / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.5551, allocations: 0 / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5552, allocations: 4 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5552, allocations: 0 / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.5552, allocations: 288 / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002933/0.5555, allocations: 209.8 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.5556, allocations: 100.8 kB / 0.558 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.5556, allocations: 4 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5558, allocations: 0 / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.5558, allocations: 11.98 kB / 0.558 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.5559, allocations: 7.938 kB / 0.558 GB, free: 3.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001769/0.556, allocations: 140.1 kB / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.5564, allocations: 28 kB / 0.5582 GB, free: 3.746 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.0009964/0.5574, allocations: 347.9 kB / 0.5585 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.5577, allocations: 55.98 kB / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5577, allocations: 0 / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.5578, allocations: 27.94 kB / 0.5586 GB, free: 3.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.5583, allocations: 31.91 kB / 0.5586 GB, free: 3.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.5589, allocations: 186.2 kB / 0.5588 GB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.5593, allocations: 0.7347 MB / 0.5595 GB, free: 2.344 MB / 394.7 MB Notification: Performance of SimCode: time 1.041e-06/0.5593, allocations: 0 / 0.5595 GB, free: 2.344 MB / 394.7 MB Notification: Performance of Templates: time 0.005672/0.565, allocations: 1.939 MB / 0.5614 GB, free: 416 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches