Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") [: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.00245/0.00245, allocations: 170.5 kB / 8.148 MB, free: 2.129 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.715/1.715, 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.001276/0.001276, allocations: 82.94 kB / 261.8 MB, free: 13.62 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.2562/0.2562, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.355e-06/8.436e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2655, allocations: 58.85 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.4171, allocations: 85.56 MB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4174, allocations: 75.45 kB / 0.549 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01665/0.4341, allocations: 3.551 MB / 0.5525 GB, free: 9.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.4342, allocations: 4 kB / 0.5525 GB, free: 9.898 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.0005237/0.4347, allocations: 386 kB / 0.5528 GB, free: 9.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4348, allocations: 12.03 kB / 0.5528 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.4348, allocations: 7.906 kB / 0.5529 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4352, allocations: 201.6 kB / 0.553 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4352, allocations: 4 kB / 0.5531 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4352, allocations: 0 / 0.5531 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.417e-05/0.4353, allocations: 12 kB / 0.5531 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.941e-05/0.4354, allocations: 41.69 kB / 0.5531 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4355, allocations: 0 / 0.5531 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4355, allocations: 0 / 0.5531 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4355, allocations: 0 / 0.5531 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.4359, allocations: 265.4 kB / 0.5534 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.4361, allocations: 33.72 kB / 0.5534 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.4362, allocations: 12.86 kB / 0.5534 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.4362, allocations: 4.078 kB / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.4363, allocations: 34.56 kB / 0.5534 GB, free: 8.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.4363, allocations: 0 / 0.5534 GB, free: 8.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005336/0.4368, allocations: 109.4 kB / 0.5535 GB, free: 8.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4369, allocations: 51.41 kB / 0.5536 GB, free: 8.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4372, allocations: 181.3 kB / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.4372, allocations: 25.7 kB / 0.5538 GB, free: 8.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.4373, allocations: 150.6 kB / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4374, allocations: 11.75 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.4374, allocations: 0 / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4375, allocations: 326.8 kB / 0.5543 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.4376, allocations: 8 kB / 0.5543 GB, free: 7.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.4376, allocations: 8 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.4377, allocations: 8 kB / 0.5543 GB, free: 7.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4377, allocations: 4 kB / 0.5543 GB, free: 7.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001557/0.4378, allocations: 61.53 kB / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4379, allocations: 4 kB / 0.5543 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4379, allocations: 0 / 0.5543 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4379, allocations: 3.984 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4381, allocations: 16 kB / 0.5544 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4381, allocations: 0 / 0.5544 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.4382, allocations: 11.98 kB / 0.5544 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.4382, allocations: 0 / 0.5544 GB, free: 7.754 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.825e-05/0.4383, allocations: 31.2 kB / 0.5544 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.4383, allocations: 11.81 kB / 0.5544 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.4386, allocations: 81.84 kB / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4386, allocations: 3.938 kB / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4386, allocations: 0 / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4387, allocations: 0 / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.4392, allocations: 319 kB / 0.5548 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4392, allocations: 0 / 0.5548 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4393, allocations: 12 kB / 0.5548 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4393, allocations: 0 / 0.5548 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4394, allocations: 8.359 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4394, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.4394, allocations: 8 kB / 0.5548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001966/0.4396, allocations: 163.3 kB / 0.555 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.4397, allocations: 89.02 kB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.4397, allocations: 0 / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4399, allocations: 15.89 kB / 0.5551 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.4399, allocations: 4 kB / 0.5551 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.44, allocations: 0 / 0.5551 GB, free: 6.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00021/0.4402, allocations: 156.1 kB / 0.5552 GB, free: 6.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.4405, allocations: 19.98 kB / 0.5553 GB, free: 6.758 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.0008503/0.4414, allocations: 309.7 kB / 0.5556 GB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.4415, allocations: 35.92 kB / 0.5556 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4415, allocations: 0 / 0.5556 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.4416, allocations: 12 kB / 0.5556 GB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4419, allocations: 12.31 kB / 0.5556 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.4425, allocations: 177.5 kB / 0.5558 GB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.443, allocations: 0.7192 MB / 0.5565 GB, free: 5.465 MB / 394.7 MB Notification: Performance of SimCode: time 1.133e-06/0.443, allocations: 0 / 0.5565 GB, free: 5.465 MB / 394.7 MB Notification: Performance of Templates: time 0.004851/0.4479, allocations: 1.566 MB / 0.558 GB, free: 3.898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches