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.001145/0.001145, 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.001246/0.001246, 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 1.023/1.023, allocations: 158.6 MB / 186 MB, free: 2.758 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.1346/0.1346, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.764e-06/1.764e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.442e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.1616/0.1616, allocations: 2.34 MB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.163, allocations: 0.6659 MB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1631, allocations: 5.469 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.544e-05/0.1632, allocations: 44.05 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1634, allocations: 74.73 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1636, allocations: 96.61 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.164, allocations: 350.4 kB / 302.7 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1642, allocations: 111.5 kB / 302.8 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.1645, allocations: 209.4 kB / 303 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.1647, allocations: 113.2 kB / 303.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.1647, allocations: 33.16 kB / 303.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.1648, allocations: 33.31 kB / 303.1 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.1649, allocations: 70.92 kB / 303.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.165, allocations: 118.1 kB / 303.3 MB, free: 18.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1653, allocations: 237.8 kB / 303.6 MB, free: 18.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1653, allocations: 5.438 kB / 303.6 MB, free: 18.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1653, allocations: 0.6562 kB / 303.6 MB, free: 18.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1653, allocations: 0 / 303.6 MB, free: 18.81 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.000684/0.166, allocations: 0.4887 MB / 304.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.166, allocations: 8.531 kB / 304.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.1661, allocations: 45.34 kB / 304.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1662, allocations: 150.9 kB / 304.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1662, allocations: 23.06 kB / 304.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1663, allocations: 32.62 kB / 304.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1666, allocations: 206.7 kB / 304.5 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1666, allocations: 1.281 kB / 304.5 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1666, allocations: 11.19 kB / 304.5 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1666, allocations: 13.16 kB / 304.5 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1667, allocations: 82.48 kB / 304.6 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1679, allocations: 0.6775 MB / 305.3 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.1679, allocations: 23.23 kB / 305.3 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.1679, allocations: 13.5 kB / 305.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.1679, allocations: 0 / 305.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.168, allocations: 36.91 kB / 305.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.168, allocations: 0 / 305.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.00012/0.1681, allocations: 42.47 kB / 305.4 MB, free: 17.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.452e-05/0.1681, allocations: 51.41 kB / 305.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1683, allocations: 239.8 kB / 305.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.1683, allocations: 29.7 kB / 305.7 MB, free: 17.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.1683, allocations: 247 kB / 306 MB, free: 17.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.1684, allocations: 10.78 kB / 306 MB, free: 17.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.1684, allocations: 58.83 kB / 306 MB, free: 17.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.1685, allocations: 329.6 kB / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.1685, allocations: 21.33 kB / 306.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.1686, allocations: 52.88 kB / 306.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/0.1687, allocations: 72.19 kB / 306.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1687, allocations: 1.281 kB / 306.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000191/0.1689, allocations: 132.8 kB / 306.6 MB, free: 16.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1689, allocations: 5.719 kB / 306.6 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1689, allocations: 3.938 kB / 306.6 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1689, allocations: 2.938 kB / 306.6 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1691, allocations: 64.44 kB / 306.7 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1691, allocations: 1.734 kB / 306.7 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1693, allocations: 30.98 kB / 306.7 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1693, allocations: 5 kB / 306.7 MB, free: 16.82 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.641e-05/0.1693, allocations: 116.8 kB / 306.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1694, allocations: 16.31 kB / 306.9 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.1694, allocations: 20.77 kB / 306.9 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1694, allocations: 0 / 306.9 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1694, allocations: 1.562 kB / 306.9 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1694, allocations: 3.203 kB / 306.9 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1697, allocations: 334.1 kB / 307.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1697, allocations: 0 / 307.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.1697, allocations: 8.484 kB / 307.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1697, allocations: 0 / 307.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1697, allocations: 6.688 kB / 307.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1697, allocations: 4.609 kB / 307.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1697, allocations: 1.312 kB / 307.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.372e-05/0.1698, allocations: 72.86 kB / 307.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.1698, allocations: 13.67 kB / 307.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1699, allocations: 2.312 kB / 307.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.1699, allocations: 1.469 kB / 307.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1699, allocations: 6.828 kB / 307.3 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1699, allocations: 5.375 kB / 307.3 MB, free: 16.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.17, allocations: 72.84 kB / 307.4 MB, free: 16.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.17, allocations: 4.031 kB / 307.4 MB, free: 16.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.1702, allocations: 73.09 kB / 307.5 MB, free: 16.25 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 6.854e-05/0.1703, allocations: 72.73 kB / 307.6 MB, free: 16.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1704, allocations: 71.05 kB / 307.6 MB, free: 16.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.1704, allocations: 3.469 kB / 307.6 MB, free: 16.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.1704, allocations: 8.75 kB / 307.6 MB, free: 16.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1706, allocations: 18.58 kB / 307.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.171, allocations: 382.4 kB / 308 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.1711, allocations: 78.08 kB / 308.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.639e-05/0.1711, allocations: 20.05 kB / 308.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.1712, allocations: 73.45 kB / 308.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1712, allocations: 0 / 308.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.00427/0.1755, allocations: 1.704 MB / 309.9 MB, free: 15.54 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 -s gbode -gbm=radauIIA3 -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.1297118980437517]