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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8948/0.8948, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1536/0.1536, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 3.938 kB / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.882e-05, allocations: 2.312 kB / 299.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.1674/0.1674, allocations: 2.289 MB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1689, allocations: 0.6625 MB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.169, allocations: 5.75 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.415e-05/0.1691, allocations: 43.33 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1693, allocations: 77.08 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1696, allocations: 90.45 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1699, allocations: 352.4 kB / 302.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.1701, allocations: 116.6 kB / 302.7 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.1704, allocations: 202 kB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1706, allocations: 122.2 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.1707, allocations: 34.22 kB / 303 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.1707, allocations: 32.78 kB / 303.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.1708, allocations: 72.16 kB / 303.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.1709, allocations: 118 kB / 303.2 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1711, allocations: 231.7 kB / 303.5 MB, free: 18.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1711, allocations: 0.5625 kB / 303.5 MB, free: 18.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1711, allocations: 0 / 303.5 MB, free: 18.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1711, allocations: 0.5938 kB / 303.5 MB, free: 18.83 MB / 282.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.0005726/0.1717, allocations: 0.5 MB / 304 MB, free: 18.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1717, allocations: 8.344 kB / 304 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.1718, allocations: 47.23 kB / 304 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1719, allocations: 145.9 kB / 304.2 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.172, allocations: 25.72 kB / 304.2 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.172, allocations: 29.31 kB / 304.2 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1723, allocations: 211 kB / 304.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1723, allocations: 3.312 kB / 304.4 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1724, allocations: 11.69 kB / 304.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1724, allocations: 11.41 kB / 304.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1725, allocations: 82.75 kB / 304.5 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1737, allocations: 0.6721 MB / 305.2 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.1737, allocations: 27.25 kB / 305.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.1738, allocations: 11.81 kB / 305.2 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.1738, allocations: 1.312 kB / 305.2 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.1738, allocations: 36.45 kB / 305.3 MB, free: 17.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.744e-06/0.1738, allocations: 0 / 305.3 MB, free: 17.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001247/0.1739, allocations: 41.8 kB / 305.3 MB, free: 17.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.1739, allocations: 53.8 kB / 305.4 MB, free: 17.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1741, allocations: 238.2 kB / 305.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.1741, allocations: 25.7 kB / 305.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1742, allocations: 249.7 kB / 305.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.1742, allocations: 4.094 kB / 305.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.1743, allocations: 67.88 kB / 305.9 MB, free: 17.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.1743, allocations: 330.8 kB / 306.3 MB, free: 16.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.1744, allocations: 21.77 kB / 306.3 MB, free: 16.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.1745, allocations: 54.44 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.1745, allocations: 65.67 kB / 306.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1745, allocations: 0 / 306.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001691/0.1747, allocations: 130.2 kB / 306.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1747, allocations: 5.484 kB / 306.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1747, allocations: 1.641 kB / 306.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1747, allocations: 5.219 kB / 306.5 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1749, allocations: 60.27 kB / 306.6 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1749, allocations: 5.578 kB / 306.6 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1751, allocations: 28.38 kB / 306.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1751, allocations: 7.344 kB / 306.6 MB, free: 16.83 MB / 282.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 () * 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 5.254e-05/0.1751, allocations: 121.1 kB / 306.8 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1752, allocations: 10.55 kB / 306.8 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.1752, allocations: 20.38 kB / 306.8 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1752, allocations: 0.5156 kB / 306.8 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1752, allocations: 0 / 306.8 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1752, allocations: 5.969 kB / 306.8 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.1755, allocations: 339.7 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1755, allocations: 0.5156 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.1755, allocations: 4.375 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1755, allocations: 0.8125 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.1755, allocations: 1.188 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1755, allocations: 1.469 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1755, allocations: 0.6562 kB / 307.1 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.1756, allocations: 77.08 kB / 307.2 MB, free: 16.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.1756, allocations: 18.98 kB / 307.2 MB, free: 16.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1756, allocations: 2.688 kB / 307.2 MB, free: 16.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.1757, allocations: 2.031 kB / 307.2 MB, free: 16.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1757, allocations: 9.859 kB / 307.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1757, allocations: 1.719 kB / 307.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.22e-05/0.1758, allocations: 69.39 kB / 307.3 MB, free: 16.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1758, allocations: 0 / 307.3 MB, free: 16.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.176, allocations: 73.53 kB / 307.4 MB, free: 16.27 MB / 282.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 () * 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 7.092e-05/0.1761, allocations: 74.22 kB / 307.5 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1762, allocations: 75.89 kB / 307.5 MB, free: 16.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.1762, allocations: 2.594 kB / 307.5 MB, free: 16.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.1762, allocations: 9.203 kB / 307.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1763, allocations: 22.16 kB / 307.6 MB, free: 16.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.1768, allocations: 379 kB / 307.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.1769, allocations: 76.02 kB / 308 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.043e-05/0.1769, allocations: 19.61 kB / 308 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.177, allocations: 69.95 kB / 308.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.177, allocations: 0 / 308.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.007601/0.1846, allocations: 1.697 MB / 309.8 MB, free: 15.56 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0724914777092636]