Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") [: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.002457/0.002457, allocations: 177.6 kB / 8.149 MB, free: 2.199 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.681/1.681, allocations: 205.2 MB / 213.7 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.001233/0.001233, allocations: 90.84 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.2882/0.2882, allocations: 43.48 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.079e-05/1.093e-05, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3301, allocations: 58.83 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.5079, allocations: 86.31 MB / 0.5497 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.5083, allocations: 71.95 kB / 0.5497 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0298/0.5381, allocations: 7.411 MB / 0.557 GB, free: 5.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.381e-05/0.5382, allocations: 4 kB / 0.557 GB, free: 5.301 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.0007308/0.539, allocations: 0.5446 MB / 0.5575 GB, free: 4.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.539, allocations: 8.031 kB / 0.5575 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.5391, allocations: 47.44 kB / 0.5575 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.5398, allocations: 323.3 kB / 0.5579 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5399, allocations: 4 kB / 0.5579 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.5399, allocations: 0 / 0.5579 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.51e-05/0.54, allocations: 12 kB / 0.5579 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.5401, allocations: 41.69 kB / 0.5579 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5401, allocations: 0 / 0.5579 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5402, allocations: 4 kB / 0.5579 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5402, allocations: 0 / 0.5579 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.541, allocations: 417.2 kB / 0.5583 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.5411, allocations: 34.42 kB / 0.5583 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.5412, allocations: 12.92 kB / 0.5584 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.5412, allocations: 3.984 kB / 0.5584 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5413, allocations: 34.56 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.5413, allocations: 0 / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002926/0.5416, allocations: 85.16 kB / 0.5585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.5416, allocations: 51.41 kB / 0.5585 GB, free: 3.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.5436, allocations: 0.7511 MB / 0.5593 GB, free: 2.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.5436, allocations: 25.7 kB / 0.5593 GB, free: 2.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.5437, allocations: 154.5 kB / 0.5594 GB, free: 2.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.5438, allocations: 7.906 kB / 0.5594 GB, free: 2.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5438, allocations: 4.031 kB / 0.5594 GB, free: 2.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5439, allocations: 318.8 kB / 0.5597 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.544, allocations: 4 kB / 0.5597 GB, free: 2.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.544, allocations: 7.938 kB / 0.5598 GB, free: 2.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.544, allocations: 8 kB / 0.5598 GB, free: 2.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.5441, allocations: 3.984 kB / 0.5598 GB, free: 2.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/0.5442, allocations: 41.7 kB / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5442, allocations: 4 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5442, allocations: 4.094 kB / 0.5598 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5443, allocations: 3.938 kB / 0.5598 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5444, allocations: 11.89 kB / 0.5598 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.5444, allocations: 0 / 0.5598 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.5445, allocations: 4 kB / 0.5598 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5445, allocations: 0 / 0.5598 GB, free: 2.148 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 (2): * Single equations (assignments): 2 * 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 4.957e-05/0.5445, allocations: 31.11 kB / 0.5599 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5447, allocations: 39.44 kB / 0.5599 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.5449, allocations: 100.7 kB / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.545, allocations: 0 / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.545, allocations: 0 / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.545, allocations: 0 / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.5455, allocations: 309.9 kB / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5455, allocations: 0 / 0.5603 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.5456, allocations: 8 kB / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5456, allocations: 0 / 0.5603 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5456, allocations: 4.031 kB / 0.5603 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5456, allocations: 15.86 kB / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5456, allocations: 0 / 0.5603 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002523/0.5459, allocations: 179 kB / 0.5605 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.5462, allocations: 160.5 kB / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.5463, allocations: 0 / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.5465, allocations: 4 kB / 0.5606 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.5465, allocations: 8.016 kB / 0.5607 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.5465, allocations: 0 / 0.5607 GB, free: 1.219 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001137/0.5477, allocations: 0.6082 MB / 0.5612 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.5481, allocations: 48 kB / 0.5613 GB, free: 0.5664 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 (2): * Single equations (assignments): 2 * 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.0007972/0.5489, allocations: 265.8 kB / 0.5615 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.549, allocations: 15.94 kB / 0.5616 GB, free: 328 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.549, allocations: 0 / 0.5616 GB, free: 328 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.5491, allocations: 12 kB / 0.5616 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.5495, allocations: 25.72 kB / 0.5616 GB, free: 292 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.5517, allocations: 0.7286 MB / 0.5623 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.5524, allocations: 0.8528 MB / 0.5631 GB, free: 14.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5525, allocations: 0 / 0.5631 GB, free: 14.63 MB / 410.7 MB Notification: Performance of Templates: time 0.01166/0.5641, allocations: 4.016 MB / 0.5671 GB, free: 10.61 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches