Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage") [: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.002385/0.002384, allocations: 170.2 kB / 8.147 MB, free: 2.223 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.785/1.785, 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.001253/0.001253, allocations: 89.95 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.2524/0.2524, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.526e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2824, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.4341, allocations: 86.89 MB / 0.5502 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4344, allocations: 75.47 kB / 0.5503 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01689/0.4513, allocations: 3.858 MB / 0.5541 GB, free: 8.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.4514, allocations: 12 kB / 0.5541 GB, free: 8.227 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001052/0.4524, allocations: 0.5178 MB / 0.5546 GB, free: 7.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4525, allocations: 8.031 kB / 0.5546 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.4526, allocations: 31.62 kB / 0.5546 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4528, allocations: 202.6 kB / 0.5548 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.453, allocations: 16.66 kB / 0.5548 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.4531, allocations: 16 kB / 0.5549 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006145/0.4537, allocations: 189.3 kB / 0.555 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.4543, allocations: 216.8 kB / 0.5552 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4544, allocations: 0 / 0.5552 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.4544, allocations: 0 / 0.5552 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4544, allocations: 8 kB / 0.5552 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.457, allocations: 0.9683 MB / 0.5562 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.4571, allocations: 30.56 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.4572, allocations: 28.91 kB / 0.5563 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.4573, allocations: 0 / 0.5563 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4573, allocations: 34.56 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.4573, allocations: 0 / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002274/0.4575, allocations: 61.48 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.4576, allocations: 55.41 kB / 0.5564 GB, free: 5.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.458, allocations: 229.9 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.458, allocations: 25.7 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4582, allocations: 301 kB / 0.5569 GB, free: 5.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4582, allocations: 11.89 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.4583, allocations: 0 / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4584, allocations: 322.8 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.4586, allocations: 48 kB / 0.5573 GB, free: 4.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.4588, allocations: 92.11 kB / 0.5574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.459, allocations: 55.98 kB / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.459, allocations: 0 / 0.5574 GB, free: 4.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005053/0.4595, allocations: 197.4 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4595, allocations: 8 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4596, allocations: 0 / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4596, allocations: 448 / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.4602, allocations: 67.88 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4602, allocations: 0 / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4605, allocations: 27.7 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4606, allocations: 4 kB / 0.5577 GB, free: 4.289 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.349e-05/0.4606, allocations: 42.95 kB / 0.5578 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.4607, allocations: 11.81 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.4608, allocations: 20.64 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.4608, allocations: 0 / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4608, allocations: 4 kB / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4608, allocations: 0 / 0.5578 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.4616, allocations: 475.8 kB / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4617, allocations: 0 / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.4617, allocations: 7.938 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4617, allocations: 0 / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.4618, allocations: 0 / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4618, allocations: 4.047 kB / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4618, allocations: 8 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001751/0.462, allocations: 103.4 kB / 0.5584 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.4621, allocations: 100.8 kB / 0.5585 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.4621, allocations: 0 / 0.5585 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4623, allocations: 8.031 kB / 0.5585 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.4624, allocations: 3.984 kB / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4624, allocations: 0 / 0.5585 GB, free: 3.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002403/0.4626, allocations: 159.3 kB / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.463, allocations: 63.75 kB / 0.5587 GB, free: 3.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001162/0.4631, allocations: 103.1 kB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.4634, allocations: 99.94 kB / 0.5589 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4635, allocations: 4.062 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.4635, allocations: 8 kB / 0.5589 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.4638, allocations: 24.56 kB / 0.5589 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.4646, allocations: 262.8 kB / 0.5592 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.4651, allocations: 0.7706 MB / 0.5599 GB, free: 1.859 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.4651, allocations: 0 / 0.5599 GB, free: 1.859 MB / 394.7 MB Notification: Performance of Templates: time 0.00636/0.4715, allocations: 2.492 MB / 0.5624 GB, free: 15.37 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches