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.001131/0.001131, allocations: 106 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 190.8 kB / 17.2 MB, free: 5.688 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.789/1.789, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2694/0.2694, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001564/0.001565, allocations: 64.42 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1429, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003502/0.1464, allocations: 2.294 MB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.1474, allocations: 0.6476 MB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1475, allocations: 8 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.003e-05/0.1476, allocations: 43.58 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1478, allocations: 67.34 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1481, allocations: 95.8 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1483, allocations: 339.2 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1487, allocations: 159.5 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1489, allocations: 135.6 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1491, allocations: 163.3 kB / 444.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.1492, allocations: 32 kB / 444.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.1492, allocations: 32 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.1493, allocations: 71.77 kB / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.1495, allocations: 159.2 kB / 444.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1498, allocations: 374.9 kB / 445.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1498, allocations: 4 kB / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1498, allocations: 0 / 445.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.1498, allocations: 0 / 445.1 MB, free: 2.301 MB / 318.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.001056/0.1509, allocations: 0.5695 MB / 445.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.151, allocations: 15.89 kB / 445.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.1511, allocations: 28.56 kB / 445.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1513, allocations: 211.8 kB / 445.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/0.1514, allocations: 25.22 kB / 446 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.1515, allocations: 32.38 kB / 446 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.1519, allocations: 290.1 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.152, allocations: 0 / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.152, allocations: 16 kB / 446.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.152, allocations: 11.98 kB / 446.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.1524, allocations: 218.5 kB / 446.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.154, allocations: 1.013 MB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.1541, allocations: 42.5 kB / 447.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1542, allocations: 24.86 kB / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1542, allocations: 0 / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1542, allocations: 38.56 kB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1542, allocations: 0 / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002718/0.1545, allocations: 77.3 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1546, allocations: 55.53 kB / 447.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.155, allocations: 322.8 kB / 448.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.155, allocations: 25.7 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.1553, allocations: 238.8 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.1553, allocations: 7.984 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.1554, allocations: 53.52 kB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1556, allocations: 338.8 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1557, allocations: 63.97 kB / 448.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1559, allocations: 93.69 kB / 448.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1561, allocations: 123.4 kB / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1561, allocations: 0 / 449 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004064/0.1565, allocations: 229.4 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1566, allocations: 7.938 kB / 449.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1566, allocations: 4 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1566, allocations: 0 / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1569, allocations: 63.86 kB / 449.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1569, allocations: 7.984 kB / 449.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.1572, allocations: 39.53 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1572, allocations: 11.98 kB / 449.4 MB, free: 13.81 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.1574, allocations: 134.6 kB / 449.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1574, allocations: 27.66 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.1575, allocations: 20.89 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1575, allocations: 0 / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1575, allocations: 12 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1575, allocations: 0 / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.1582, allocations: 0.4993 MB / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1582, allocations: 4 kB / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.1582, allocations: 0 / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1582, allocations: 0 / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1583, allocations: 7.938 kB / 450.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1583, allocations: 3.984 kB / 450.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1583, allocations: 4.062 kB / 450.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1584, allocations: 105.6 kB / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.1585, allocations: 96.91 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1585, allocations: 0 / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1586, allocations: 7.984 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.1587, allocations: 0 / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1587, allocations: 4.031 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.159, allocations: 229.9 kB / 450.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.159, allocations: 0 / 450.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1593, allocations: 67.75 kB / 450.6 MB, free: 12.49 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.1594, allocations: 91.25 kB / 450.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.1597, allocations: 111.9 kB / 450.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1597, allocations: 0 / 450.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.1598, allocations: 16 kB / 450.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1601, allocations: 28.81 kB / 450.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.1609, allocations: 371.7 kB / 451.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.1613, allocations: 0.7401 MB / 451.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1614, allocations: 29.92 kB / 451.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.1615, allocations: 19.38 kB / 452 MB, free: 11.03 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1615, allocations: 0 / 452 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Templates: time 0.005033/0.1666, allocations: 1.76 MB / 453.7 MB, free: 9.289 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches