Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002111/0.002115, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2748/0.2748, allocations: 43.49 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.565e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 58.84 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6259, allocations: 87.63 MB / 0.5584 GB, free: 48 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.6263, allocations: 68.73 kB / 0.5584 GB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02693/0.6533, allocations: 4.188 MB / 0.5625 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6534, allocations: 0 / 0.5625 GB, free: 12.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.6534, allocations: 4 kB / 0.5625 GB, free: 12.42 MB / 378.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.001516/0.6549, allocations: 0.5095 MB / 0.563 GB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.655, allocations: 8.031 kB / 0.563 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.6552, allocations: 35.23 kB / 0.5631 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.6555, allocations: 203.8 kB / 0.5633 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.6557, allocations: 28.03 kB / 0.5633 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.6558, allocations: 31.69 kB / 0.5633 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6569, allocations: 264 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6569, allocations: 0 / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.657, allocations: 14.88 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.6571, allocations: 11.98 kB / 0.5636 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008995/0.658, allocations: 200.3 kB / 0.5638 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.662, allocations: 1.035 MB / 0.5648 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.6622, allocations: 35.2 kB / 0.5648 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.6624, allocations: 25.73 kB / 0.5648 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.6624, allocations: 3.984 kB / 0.5649 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6625, allocations: 30.56 kB / 0.5649 GB, free: 10.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 4.539e-06/0.6625, allocations: 4 kB / 0.5649 GB, free: 10.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003307/0.6628, allocations: 60.64 kB / 0.5649 GB, free: 10.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.6629, allocations: 55.39 kB / 0.565 GB, free: 10.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.6636, allocations: 282.7 kB / 0.5653 GB, free: 9.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6637, allocations: 25.7 kB / 0.5653 GB, free: 9.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.664, allocations: 291.7 kB / 0.5656 GB, free: 9.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.664, allocations: 14.95 kB / 0.5656 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.6641, allocations: 4.375 kB / 0.5656 GB, free: 9.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6643, allocations: 330.7 kB / 0.5659 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.6646, allocations: 60.12 kB / 0.566 GB, free: 9.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.665, allocations: 86.08 kB / 0.566 GB, free: 9.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.6653, allocations: 76.34 kB / 0.5661 GB, free: 9.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6653, allocations: 3.938 kB / 0.5661 GB, free: 9.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008297/0.6662, allocations: 204.9 kB / 0.5663 GB, free: 8.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.6662, allocations: 4 kB / 0.5663 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6663, allocations: 4 kB / 0.5663 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.6663, allocations: 4.031 kB / 0.5663 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008424/0.6672, allocations: 55.83 kB / 0.5664 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.6672, allocations: 7.984 kB / 0.5664 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.6679, allocations: 38.72 kB / 0.5664 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.6679, allocations: 19.3 kB / 0.5664 GB, free: 8.859 MB / 378.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 0.0001406/0.6681, allocations: 110.3 kB / 0.5665 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.6682, allocations: 23.72 kB / 0.5666 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.6683, allocations: 19.77 kB / 0.5666 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6684, allocations: 4 kB / 0.5666 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6684, allocations: 0 / 0.5666 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6684, allocations: 0 / 0.5666 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.6697, allocations: 0.5043 MB / 0.5671 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6698, allocations: 0 / 0.5671 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.6699, allocations: 4 kB / 0.5671 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.6699, allocations: 0 / 0.5671 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6699, allocations: 8.062 kB / 0.5671 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.6699, allocations: 3.938 kB / 0.5671 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.67, allocations: 3.984 kB / 0.5671 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6703, allocations: 109.8 kB / 0.5672 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.6705, allocations: 103.9 kB / 0.5673 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.6705, allocations: 4 kB / 0.5673 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.6709, allocations: 12.02 kB / 0.5673 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.6709, allocations: 3.953 kB / 0.5673 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.6709, allocations: 0 / 0.5673 GB, free: 7.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005198/0.6715, allocations: 215.2 kB / 0.5675 GB, free: 7.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.6715, allocations: 0 / 0.5675 GB, free: 7.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006448/0.6722, allocations: 63.47 kB / 0.5676 GB, free: 7.691 MB / 378.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.0001857/0.6724, allocations: 98.69 kB / 0.5677 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005025/0.6729, allocations: 111.3 kB / 0.5678 GB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6729, allocations: 3.938 kB / 0.5678 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.673, allocations: 7.188 kB / 0.5678 GB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.6734, allocations: 26.78 kB / 0.5678 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.6745, allocations: 262.5 kB / 0.5681 GB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.675, allocations: 0.7441 MB / 0.5688 GB, free: 6.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.6752, allocations: 26.36 kB / 0.5688 GB, free: 6.418 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6752, allocations: 4 kB / 0.5688 GB, free: 6.414 MB / 378.7 MB Notification: Performance of Templates: time 0.01037/0.6856, allocations: 2.598 MB / 0.5714 GB, free: 3.848 MB / 378.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/jenkins1/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