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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009338/0.0009339, allocations: 184 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007041/0.0007042, allocations: 83.45 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2907/0.2907, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.877e-05, allocations: 4 kB / 425.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.4045, allocations: 87.63 MB / 0.5584 GB, free: 1.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.4047, allocations: 63.97 kB / 0.5584 GB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009558/0.4143, allocations: 4.188 MB / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4144, allocations: 4 kB / 0.5625 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4144, allocations: 4 kB / 0.5625 GB, free: 13.17 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.0006377/0.415, allocations: 0.5047 MB / 0.563 GB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4151, allocations: 12.03 kB / 0.563 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.4151, allocations: 39.14 kB / 0.5631 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4153, allocations: 204 kB / 0.5633 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.4154, allocations: 24.78 kB / 0.5633 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.4154, allocations: 32 kB / 0.5633 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.4159, allocations: 270.7 kB / 0.5636 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4159, allocations: 0 / 0.5636 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.4159, allocations: 12 kB / 0.5636 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4159, allocations: 9.375 kB / 0.5636 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.4163, allocations: 207 kB / 0.5638 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.4177, allocations: 1.022 MB / 0.5648 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.103e-05/0.4178, allocations: 34.58 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.4178, allocations: 28.86 kB / 0.5649 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4179, allocations: 0 / 0.5649 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4179, allocations: 34.56 kB / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4179, allocations: 0 / 0.5649 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.418, allocations: 65.41 kB / 0.565 GB, free: 10.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.4181, allocations: 51.41 kB / 0.565 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.4183, allocations: 287.3 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.4184, allocations: 29.73 kB / 0.5653 GB, free: 10.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4185, allocations: 231.3 kB / 0.5655 GB, free: 9.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.4185, allocations: 11.91 kB / 0.5655 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.4185, allocations: 4 kB / 0.5655 GB, free: 9.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.4186, allocations: 334.8 kB / 0.5659 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.102e-05/0.4187, allocations: 62.25 kB / 0.5659 GB, free: 9.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4188, allocations: 93.67 kB / 0.566 GB, free: 9.426 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4189, allocations: 72.47 kB / 0.5661 GB, free: 9.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.419, allocations: 0 / 0.5661 GB, free: 9.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002815/0.4192, allocations: 217.9 kB / 0.5663 GB, free: 9.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4193, allocations: 4 kB / 0.5663 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4193, allocations: 0 / 0.5663 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4193, allocations: 7.938 kB / 0.5663 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4196, allocations: 51.95 kB / 0.5664 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4196, allocations: 0 / 0.5664 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.4198, allocations: 43.53 kB / 0.5664 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4198, allocations: 12.03 kB / 0.5664 GB, free: 9.02 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 5.81e-05/0.4199, allocations: 120.9 kB / 0.5665 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.4199, allocations: 15.81 kB / 0.5665 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.42, allocations: 24.89 kB / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.42, allocations: 0 / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.42, allocations: 0 / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.42, allocations: 0 / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.4205, allocations: 0.5149 MB / 0.5671 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4205, allocations: 0 / 0.5671 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.4205, allocations: 4 kB / 0.5671 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4205, allocations: 3.984 kB / 0.5671 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.4205, allocations: 4 kB / 0.5671 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4205, allocations: 0 / 0.5671 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4206, allocations: 5.344 kB / 0.5671 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.4207, allocations: 115.5 kB / 0.5672 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.4208, allocations: 100.8 kB / 0.5673 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4208, allocations: 4 kB / 0.5673 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4209, allocations: 0 / 0.5673 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.4209, allocations: 15.77 kB / 0.5673 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4209, allocations: 0 / 0.5673 GB, free: 7.988 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.4211, allocations: 215.1 kB / 0.5675 GB, free: 7.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4211, allocations: 8.031 kB / 0.5675 GB, free: 7.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.4213, allocations: 63.84 kB / 0.5676 GB, free: 7.707 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 8.139e-05/0.4214, allocations: 92.19 kB / 0.5677 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.4216, allocations: 107.9 kB / 0.5678 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4216, allocations: 0 / 0.5678 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.4216, allocations: 12 kB / 0.5678 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.4218, allocations: 23 kB / 0.5678 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.4222, allocations: 232.2 kB / 0.568 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.4224, allocations: 0.748 MB / 0.5688 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.4226, allocations: 26.06 kB / 0.5688 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.4226, allocations: 19.38 kB / 0.5688 GB, free: 6.398 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4226, allocations: 0 / 0.5688 GB, free: 6.398 MB / 394.7 MB Notification: Performance of Templates: time 0.003589/0.4262, allocations: 1.608 MB / 0.5704 GB, free: 4.805 MB / 394.7 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