Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.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.0017/0.001705, allocations: 170.8 kB / 8.147 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.818/1.818, 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.001263/0.001262, allocations: 91.53 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.2676/0.2676, allocations: 43.48 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.729e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.292, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4518, allocations: 85.56 MB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4522, allocations: 71.25 kB / 0.549 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01709/0.4693, allocations: 3.768 MB / 0.5527 GB, free: 9.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.4694, allocations: 4 kB / 0.5527 GB, free: 9.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000532/0.4699, allocations: 398.2 kB / 0.5531 GB, free: 9.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.47, allocations: 8.031 kB / 0.5531 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.4701, allocations: 15.81 kB / 0.5531 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.4704, allocations: 218.6 kB / 0.5533 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4705, allocations: 0 / 0.5533 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4705, allocations: 4 kB / 0.5533 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.302e-05/0.4706, allocations: 16 kB / 0.5533 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4707, allocations: 41.69 kB / 0.5533 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4707, allocations: 0 / 0.5533 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4708, allocations: 3.906 kB / 0.5534 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4708, allocations: 0 / 0.5534 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.4713, allocations: 281.3 kB / 0.5536 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4715, allocations: 33.72 kB / 0.5537 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.4716, allocations: 8.859 kB / 0.5537 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4716, allocations: 0 / 0.5537 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.4717, allocations: 34.55 kB / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.4717, allocations: 0 / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005901/0.4723, allocations: 113.2 kB / 0.5538 GB, free: 8.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.4723, allocations: 59.41 kB / 0.5539 GB, free: 8.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.4728, allocations: 221.6 kB / 0.5541 GB, free: 8.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.4728, allocations: 25.7 kB / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.4729, allocations: 158.6 kB / 0.5542 GB, free: 7.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.4729, allocations: 19.64 kB / 0.5543 GB, free: 7.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.473, allocations: 3.938 kB / 0.5543 GB, free: 7.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4731, allocations: 310.8 kB / 0.5546 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.4732, allocations: 12 kB / 0.5546 GB, free: 7.547 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.4732, allocations: 12 kB / 0.5546 GB, free: 7.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.4733, allocations: 8 kB / 0.5546 GB, free: 7.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4733, allocations: 0 / 0.5546 GB, free: 7.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.4735, allocations: 53.69 kB / 0.5546 GB, free: 7.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4735, allocations: 8 kB / 0.5547 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4735, allocations: 0 / 0.5547 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4736, allocations: 0 / 0.5547 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4737, allocations: 19.92 kB / 0.5547 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4737, allocations: 7.984 kB / 0.5547 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.4738, allocations: 7.906 kB / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4738, allocations: 4 kB / 0.5547 GB, free: 7.422 MB / 394.7 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 5.816e-05/0.4739, allocations: 27.27 kB / 0.5547 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.474, allocations: 15.75 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.4742, allocations: 78.77 kB / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4743, allocations: 0 / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4743, allocations: 4 kB / 0.5548 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4743, allocations: 0 / 0.5548 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.4749, allocations: 339.3 kB / 0.5551 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4749, allocations: 8.062 kB / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.475, allocations: 11.98 kB / 0.5552 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4751, allocations: 4 kB / 0.5552 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4751, allocations: 0 / 0.5552 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4751, allocations: 4 kB / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4751, allocations: 0 / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002103/0.4753, allocations: 167.3 kB / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4755, allocations: 96.91 kB / 0.5554 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.4755, allocations: 0 / 0.5554 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4756, allocations: 11.98 kB / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.4757, allocations: 4 kB / 0.5554 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4757, allocations: 8 kB / 0.5554 GB, free: 6.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002927/0.476, allocations: 192.3 kB / 0.5556 GB, free: 6.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.4764, allocations: 35.83 kB / 0.5557 GB, free: 6.348 MB / 394.7 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.0009502/0.4773, allocations: 302.2 kB / 0.5559 GB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.4775, allocations: 23.98 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4775, allocations: 11.94 kB / 0.556 GB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.638e-05/0.4776, allocations: 12 kB / 0.556 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.478, allocations: 12.17 kB / 0.556 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.4787, allocations: 233.7 kB / 0.5562 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.4792, allocations: 0.7348 MB / 0.5569 GB, free: 4.992 MB / 394.7 MB Notification: Performance of SimCode: time 1.051e-06/0.4792, allocations: 4 kB / 0.5569 GB, free: 4.988 MB / 394.7 MB Notification: Performance of Templates: time 0.006169/0.4854, allocations: 1.738 MB / 0.5586 GB, free: 3.25 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches