Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") [: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.001652/0.001652, allocations: 172.2 kB / 8.145 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.752/1.752, 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.001291/0.00129, allocations: 88.86 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.2642/0.2642, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.081e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2985, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2218/0.5203, allocations: 85.58 MB / 0.5489 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/0.5208, allocations: 63.97 kB / 0.549 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01918/0.54, allocations: 3.599 MB / 0.5525 GB, free: 9.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.54, allocations: 0 / 0.5525 GB, free: 9.844 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.0004999/0.5405, allocations: 398 kB / 0.5529 GB, free: 9.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5406, allocations: 16.03 kB / 0.5529 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.5407, allocations: 7.906 kB / 0.5529 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.541, allocations: 197 kB / 0.5531 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.5411, allocations: 4 kB / 0.5531 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.5411, allocations: 0 / 0.5531 GB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.294e-05/0.5412, allocations: 12 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.5413, allocations: 45.62 kB / 0.5532 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5413, allocations: 3.906 kB / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5413, allocations: 0 / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5414, allocations: 0 / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.5419, allocations: 273.4 kB / 0.5534 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.5421, allocations: 29.7 kB / 0.5535 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.5422, allocations: 12.86 kB / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.5422, allocations: 0 / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5422, allocations: 30.56 kB / 0.5535 GB, free: 8.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.5423, allocations: 4 kB / 0.5535 GB, free: 8.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005623/0.5428, allocations: 105.3 kB / 0.5536 GB, free: 8.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.5429, allocations: 51.41 kB / 0.5536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.5432, allocations: 197.4 kB / 0.5538 GB, free: 8.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.5433, allocations: 25.7 kB / 0.5539 GB, free: 8.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.5433, allocations: 158.5 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.5434, allocations: 15.75 kB / 0.554 GB, free: 8.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.5434, allocations: 3.938 kB / 0.554 GB, free: 8.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5435, allocations: 314.8 kB / 0.5543 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.5436, allocations: 12 kB / 0.5543 GB, free: 7.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.5436, allocations: 7.984 kB / 0.5543 GB, free: 7.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.5437, allocations: 8 kB / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5437, allocations: 0 / 0.5544 GB, free: 7.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001691/0.5439, allocations: 57.62 kB / 0.5544 GB, free: 7.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5439, allocations: 11.28 kB / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5439, allocations: 0 / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.544, allocations: 7.906 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.5441, allocations: 12 kB / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5442, allocations: 0 / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.5442, allocations: 7.984 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5443, allocations: 4.25 kB / 0.5545 GB, free: 7.656 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.79e-05/0.5443, allocations: 33.8 kB / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.5444, allocations: 11.81 kB / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.5448, allocations: 86.69 kB / 0.5546 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.5448, allocations: 144 / 0.5546 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5448, allocations: 0 / 0.5546 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5448, allocations: 3.984 kB / 0.5546 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.5453, allocations: 327 kB / 0.5549 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.5454, allocations: 0 / 0.5549 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.5455, allocations: 19.98 kB / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.5455, allocations: 0 / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5456, allocations: 0 / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5456, allocations: 3.938 kB / 0.5549 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5456, allocations: 0 / 0.5549 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000204/0.5458, allocations: 159.4 kB / 0.5551 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.5459, allocations: 97 kB / 0.5552 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.5459, allocations: 7.906 kB / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5461, allocations: 4 kB / 0.5552 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.5461, allocations: 7.984 kB / 0.5552 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.5462, allocations: 0 / 0.5552 GB, free: 6.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002286/0.5464, allocations: 160.2 kB / 0.5553 GB, free: 6.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.5467, allocations: 27.94 kB / 0.5554 GB, free: 6.641 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.000852/0.5476, allocations: 310.5 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.5478, allocations: 24 kB / 0.5557 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5478, allocations: 0 / 0.5557 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.5478, allocations: 12 kB / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.5482, allocations: 15.84 kB / 0.5557 GB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.5488, allocations: 201.3 kB / 0.5559 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.5493, allocations: 0.727 MB / 0.5566 GB, free: 5.336 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5493, allocations: 0 / 0.5566 GB, free: 5.336 MB / 394.7 MB Notification: Performance of Templates: time 0.005039/0.5543, allocations: 1.616 MB / 0.5582 GB, free: 3.719 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches