Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 173.9 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4625/0.4625, allocations: 43.58 MB / 314.6 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005456, allocations: 16 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1439, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002342/0.1463, allocations: 1.915 MB / 444.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1474, allocations: 0.6207 MB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.1475, allocations: 4 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.1475, allocations: 31.77 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1477, allocations: 55.53 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1479, allocations: 67.91 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1483, allocations: 315.2 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.1485, allocations: 122.8 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1487, allocations: 111.6 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1489, allocations: 123.5 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.149, allocations: 16 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.149, allocations: 16 kB / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.1491, allocations: 51.77 kB / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1491, allocations: 77.58 kB / 446.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1494, allocations: 283.4 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1494, allocations: 3.938 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1494, allocations: 4 kB / 446.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1494, allocations: 0 / 446.6 MB, free: 9.438 MB / 382.1 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.0008022/0.1502, allocations: 0.5264 MB / 447.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1503, allocations: 12.03 kB / 447.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.1503, allocations: 39.56 kB / 447.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.1505, allocations: 190.8 kB / 447.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/0.1506, allocations: 28.66 kB / 447.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.1507, allocations: 28 kB / 447.4 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.1511, allocations: 285.9 kB / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1512, allocations: 0 / 447.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.1512, allocations: 12 kB / 447.7 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1512, allocations: 8 kB / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.1516, allocations: 226.5 kB / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.1532, allocations: 1.017 MB / 449 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.1533, allocations: 38.52 kB / 449 MB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.1534, allocations: 32.91 kB / 449 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.1534, allocations: 0 / 449 MB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1534, allocations: 30.56 kB / 449.1 MB, free: 6.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.1534, allocations: 3.984 kB / 449.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.1536, allocations: 65.52 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1537, allocations: 63.3 kB / 449.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.154, allocations: 319 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1541, allocations: 29.7 kB / 449.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1542, allocations: 234.8 kB / 449.8 MB, free: 6.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.1543, allocations: 19.81 kB / 449.8 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.1543, allocations: 4 kB / 449.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1544, allocations: 330.8 kB / 450.1 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1545, allocations: 63.97 kB / 450.2 MB, free: 5.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1547, allocations: 94.42 kB / 450.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1549, allocations: 76 kB / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1549, allocations: 0 / 450.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000387/0.1553, allocations: 237.3 kB / 450.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1553, allocations: 4 kB / 450.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1553, allocations: 0 / 450.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1553, allocations: 4 kB / 450.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.1556, allocations: 55.89 kB / 450.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1556, allocations: 7.984 kB / 450.6 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1558, allocations: 39.59 kB / 450.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1558, allocations: 8 kB / 450.7 MB, free: 5.117 MB / 382.1 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 () * Number of clocked 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.0001394/0.156, allocations: 141.8 kB / 450.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.156, allocations: 15.81 kB / 450.8 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.1561, allocations: 20.89 kB / 450.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1561, allocations: 4 kB / 450.9 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1561, allocations: 0 / 450.9 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1561, allocations: 7.953 kB / 450.9 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.1567, allocations: 0.4994 MB / 451.4 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1567, allocations: 3.938 kB / 451.4 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.1567, allocations: 0 / 451.4 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1567, allocations: 4 kB / 451.4 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1567, allocations: 3.953 kB / 451.4 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1567, allocations: 3.938 kB / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1568, allocations: 0 / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.1569, allocations: 101.9 kB / 451.5 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.157, allocations: 104.8 kB / 451.6 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.157, allocations: 0 / 451.6 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1571, allocations: 7.953 kB / 451.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.1572, allocations: 3.984 kB / 451.6 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1572, allocations: 15.91 kB / 451.6 MB, free: 4.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.1574, allocations: 222 kB / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1574, allocations: 0 / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1577, allocations: 63.84 kB / 451.9 MB, free: 3.793 MB / 382.1 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 () * Number of clocked 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.0001093/0.1578, allocations: 95.23 kB / 452 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1581, allocations: 112.7 kB / 452.1 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1581, allocations: 0 / 452.1 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.1581, allocations: 16.06 kB / 452.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1584, allocations: 24.81 kB / 452.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.1591, allocations: 452.4 kB / 452.6 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1594, allocations: 0.7442 MB / 453.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1596, allocations: 25.94 kB / 453.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.1596, allocations: 19.42 kB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1596, allocations: 0 / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of Templates: time 0.004669/0.1643, allocations: 1.614 MB / 455 MB, free: 0.6445 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches