Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.CombiTable1D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11") [: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.002497/0.002496, allocations: 174.9 kB / 8.146 MB, free: 2.633 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.2 MB / 213.8 MB, free: 2.148 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 93.11 kB / 261.8 MB, free: 1.461 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2885/0.2885, allocations: 43.49 MB / 353.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.616e-06, allocations: 4 kB / 417.7 MB, free: 63.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 58.84 MB / 476.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4528, allocations: 86.07 MB / 0.5494 GB, free: 1.344 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4531, allocations: 72.34 kB / 0.5495 GB, free: 1.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.01433/0.4674, allocations: 3.261 MB / 0.5527 GB, free: 14.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4675, allocations: 4 kB / 0.5527 GB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005387/0.4681, allocations: 365 kB / 0.553 GB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4681, allocations: 14.98 kB / 0.553 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.4682, allocations: 8.734 kB / 0.5531 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4685, allocations: 198.6 kB / 0.5532 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4685, allocations: 0 / 0.5532 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4686, allocations: 0 / 0.5532 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.688e-05/0.4687, allocations: 14.92 kB / 0.5533 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.4688, allocations: 48.44 kB / 0.5533 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4688, allocations: 3.906 kB / 0.5533 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4688, allocations: 4 kB / 0.5533 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4688, allocations: 0 / 0.5533 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.4693, allocations: 263.1 kB / 0.5536 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4695, allocations: 39.39 kB / 0.5536 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.4696, allocations: 8.859 kB / 0.5536 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4696, allocations: 4 kB / 0.5536 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.4696, allocations: 37.56 kB / 0.5536 GB, free: 13.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.4697, allocations: 0 / 0.5536 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005231/0.4702, allocations: 110 kB / 0.5538 GB, free: 13.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4702, allocations: 55.41 kB / 0.5538 GB, free: 13.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.4705, allocations: 146.8 kB / 0.5539 GB, free: 13.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4705, allocations: 25.7 kB / 0.554 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.4706, allocations: 157.6 kB / 0.5541 GB, free: 13.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4706, allocations: 11.72 kB / 0.5541 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.4706, allocations: 0 / 0.5541 GB, free: 13.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4707, allocations: 325.5 kB / 0.5544 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.4708, allocations: 10.62 kB / 0.5545 GB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4708, allocations: 11.31 kB / 0.5545 GB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.4709, allocations: 18.8 kB / 0.5545 GB, free: 12.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4709, allocations: 0 / 0.5545 GB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001445/0.4711, allocations: 58.88 kB / 0.5545 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4711, allocations: 4 kB / 0.5545 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4711, allocations: 0 / 0.5545 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4711, allocations: 4 kB / 0.5545 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4713, allocations: 19.94 kB / 0.5546 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4713, allocations: 3.906 kB / 0.5546 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.4714, allocations: 7.984 kB / 0.5546 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.4714, allocations: 144 / 0.5546 GB, free: 12.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.035e-05/0.4715, allocations: 31.11 kB / 0.5546 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4715, allocations: 11.89 kB / 0.5546 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.4717, allocations: 75.48 kB / 0.5547 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4718, allocations: 4 kB / 0.5547 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4718, allocations: 0 / 0.5547 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.4718, allocations: 3.906 kB / 0.5547 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.4723, allocations: 323.4 kB / 0.555 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4723, allocations: 0 / 0.555 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4724, allocations: 15.98 kB / 0.555 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4725, allocations: 0 / 0.555 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4725, allocations: 8.281 kB / 0.555 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4725, allocations: 0 / 0.555 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4725, allocations: 4 kB / 0.555 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000196/0.4727, allocations: 158.1 kB / 0.5552 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/0.4728, allocations: 92.44 kB / 0.5553 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.4728, allocations: 7.938 kB / 0.5553 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.473, allocations: 11.94 kB / 0.5553 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.473, allocations: 7.891 kB / 0.5553 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.473, allocations: 4 kB / 0.5553 GB, free: 11.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.000136/0.4732, allocations: 117.5 kB / 0.5554 GB, free: 11.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.4735, allocations: 19.94 kB / 0.5554 GB, free: 11.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008774/0.4744, allocations: 298.9 kB / 0.5557 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.4746, allocations: 42.17 kB / 0.5558 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4746, allocations: 0 / 0.5558 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.611e-05/0.4746, allocations: 22.44 kB / 0.5558 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.475, allocations: 8.109 kB / 0.5558 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.4755, allocations: 159.4 kB / 0.5559 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.4759, allocations: 0.718 MB / 0.5566 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4759, allocations: 0 / 0.5566 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Templates: time 0.004483/0.4804, allocations: 1.51 MB / 0.5581 GB, free: 8.965 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches