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.0009097/0.0009097, allocations: 174.9 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008437/0.0008434, allocations: 82.64 kB / 261.7 MB, free: 1.613 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.1971/0.1971, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.085e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09755, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4411, allocations: 86.96 MB / 0.5509 GB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4413, allocations: 79.28 kB / 0.5509 GB, free: 7.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008798/0.4501, allocations: 4.139 MB / 0.555 GB, free: 4.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4502, allocations: 3.938 kB / 0.555 GB, free: 4.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4502, allocations: 4 kB / 0.555 GB, free: 4.609 MB / 362.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.0005642/0.4508, allocations: 0.5088 MB / 0.5555 GB, free: 4.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4508, allocations: 8.031 kB / 0.5555 GB, free: 4.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.4509, allocations: 35.12 kB / 0.5555 GB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.451, allocations: 211 kB / 0.5557 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.4511, allocations: 16.78 kB / 0.5557 GB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.4512, allocations: 19.98 kB / 0.5557 GB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002817/0.4514, allocations: 183.7 kB / 0.5559 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.4518, allocations: 222.2 kB / 0.5561 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4518, allocations: 0.8438 kB / 0.5561 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.4518, allocations: 0 / 0.5561 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4518, allocations: 12 kB / 0.5561 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.4531, allocations: 0.9498 MB / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.4531, allocations: 28.14 kB / 0.5571 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.4532, allocations: 28.3 kB / 0.5571 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.4532, allocations: 0 / 0.5571 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.036e-05/0.4532, allocations: 30.56 kB / 0.5572 GB, free: 2.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4532, allocations: 0 / 0.5572 GB, free: 2.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.4534, allocations: 64.83 kB / 0.5572 GB, free: 2.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.397e-05/0.4534, allocations: 55.39 kB / 0.5573 GB, free: 2.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4536, allocations: 225.1 kB / 0.5575 GB, free: 2.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.4536, allocations: 33.72 kB / 0.5575 GB, free: 2.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.4537, allocations: 237.4 kB / 0.5577 GB, free: 2.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.4537, allocations: 15.64 kB / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.4537, allocations: 0 / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.4537, allocations: 328.5 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.4538, allocations: 52.12 kB / 0.5581 GB, free: 1.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.4539, allocations: 86.58 kB / 0.5582 GB, free: 1.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.454, allocations: 64.28 kB / 0.5583 GB, free: 1.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.454, allocations: 3.953 kB / 0.5583 GB, free: 1.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002221/0.4542, allocations: 193.8 kB / 0.5585 GB, free: 1.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4542, allocations: 4 kB / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4543, allocations: 4 kB / 0.5585 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4543, allocations: 0 / 0.5585 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.4546, allocations: 59.45 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4546, allocations: 4 kB / 0.5585 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4548, allocations: 31.62 kB / 0.5586 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4548, allocations: 11.09 kB / 0.5586 GB, free: 1.293 MB / 362.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 4.998e-05/0.4549, allocations: 108.9 kB / 0.5587 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.4549, allocations: 19.8 kB / 0.5587 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.4549, allocations: 16.06 kB / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4549, allocations: 0 / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4549, allocations: 0 / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.455, allocations: 4 kB / 0.5587 GB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.4553, allocations: 478.3 kB / 0.5592 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4553, allocations: 0 / 0.5592 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.4554, allocations: 7.938 kB / 0.5592 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4554, allocations: 0 / 0.5592 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.4554, allocations: 0 / 0.5592 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4554, allocations: 0 / 0.5592 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4554, allocations: 0 / 0.5592 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/0.4555, allocations: 104.3 kB / 0.5593 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.4555, allocations: 99.09 kB / 0.5594 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4556, allocations: 8 kB / 0.5594 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.4557, allocations: 0 / 0.5594 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.4557, allocations: 0 / 0.5594 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4557, allocations: 4 kB / 0.5594 GB, free: 444 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.4558, allocations: 166.1 kB / 0.5595 GB, free: 312 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4558, allocations: 4.031 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.456, allocations: 63.75 kB / 0.5596 GB, free: 244 kB / 362.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 6.225e-05/0.4561, allocations: 107 kB / 0.5597 GB, free: 124 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.4563, allocations: 105.7 kB / 0.5598 GB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4563, allocations: 0 / 0.5598 GB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.4563, allocations: 7.938 kB / 0.5598 GB, free: 48 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.4565, allocations: 12.73 kB / 0.5598 GB, free: 36 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.4569, allocations: 234.4 kB / 0.56 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4572, allocations: 0.7475 MB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.4573, allocations: 21.84 kB / 0.5608 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.4574, allocations: 15.44 kB / 0.5608 GB, free: 14.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4574, allocations: 0 / 0.5608 GB, free: 14.99 MB / 378.7 MB Notification: Performance of Templates: time 0.003315/0.4607, allocations: 1.334 MB / 0.5621 GB, free: 13.68 MB / 378.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