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.001087/0.001087, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 185.5 kB / 16.92 MB, free: 6.691 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.858/1.858, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4834/0.4834, allocations: 43.57 MB / 315 MB, free: 9.023 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.00055/0.0005505, allocations: 16 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.165, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.002676/0.1677, allocations: 1.984 MB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1689, allocations: 0.6398 MB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1691, allocations: 7.938 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.485e-05/0.1691, allocations: 35.77 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1694, allocations: 59.52 kB / 446.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1697, allocations: 71.92 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.1701, allocations: 331.2 kB / 446.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004053/0.1705, allocations: 135.9 kB / 446.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1707, allocations: 111.6 kB / 446.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.171, allocations: 135.3 kB / 446.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.1711, allocations: 19.94 kB / 447 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.1711, allocations: 20 kB / 447 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.1712, allocations: 47.83 kB / 447 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1715, allocations: 161 kB / 447.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.1719, allocations: 354.8 kB / 447.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1719, allocations: 0 / 447.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.379e-06/0.172, allocations: 4 kB / 447.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.172, allocations: 0 / 447.5 MB, free: 8.809 MB / 382.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.001266/0.1732, allocations: 0.5266 MB / 448.1 MB, free: 8.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/0.1733, allocations: 12.03 kB / 448.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1734, allocations: 32.56 kB / 448.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1738, allocations: 200 kB / 448.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.1739, allocations: 37.19 kB / 448.3 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.174, allocations: 28.38 kB / 448.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1746, allocations: 278.2 kB / 448.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1746, allocations: 0 / 448.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.1747, allocations: 16 kB / 448.6 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1747, allocations: 8 kB / 448.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.1752, allocations: 226.5 kB / 448.9 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.1774, allocations: 1.021 MB / 449.9 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.909e-05/0.1775, allocations: 30.56 kB / 449.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.1776, allocations: 28.92 kB / 450 MB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1776, allocations: 0 / 450 MB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.1777, allocations: 34.5 kB / 450 MB, free: 6.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1777, allocations: 0 / 450 MB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003095/0.178, allocations: 77.36 kB / 450.1 MB, free: 6.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.1781, allocations: 59.39 kB / 450.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.1786, allocations: 319 kB / 450.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1786, allocations: 29.7 kB / 450.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.1789, allocations: 234.8 kB / 450.7 MB, free: 5.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.1789, allocations: 11.84 kB / 450.7 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.179, allocations: 29.7 kB / 450.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1792, allocations: 326.8 kB / 451.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1793, allocations: 67.97 kB / 451.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1795, allocations: 98.36 kB / 451.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1797, allocations: 121.7 kB / 451.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1797, allocations: 0 / 451.3 MB, free: 4.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004298/0.1802, allocations: 237.9 kB / 451.6 MB, free: 4.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.1802, allocations: 11.94 kB / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1802, allocations: 0 / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/0.1803, allocations: 0 / 451.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.1806, allocations: 67.88 kB / 451.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1806, allocations: 0 / 451.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1808, allocations: 43.58 kB / 451.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1809, allocations: 12 kB / 451.7 MB, free: 4.395 MB / 382.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.0001793/0.1811, allocations: 129.8 kB / 451.8 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.1811, allocations: 23.66 kB / 451.8 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.1812, allocations: 24.89 kB / 451.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1812, allocations: 3.938 kB / 451.9 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1812, allocations: 4 kB / 451.9 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1812, allocations: 0 / 451.9 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.1818, allocations: 0.511 MB / 452.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1818, allocations: 0 / 452.4 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.1819, allocations: 7.938 kB / 452.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1819, allocations: 0 / 452.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1819, allocations: 4 kB / 452.4 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1819, allocations: 4 kB / 452.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1819, allocations: 4.062 kB / 452.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1821, allocations: 97.64 kB / 452.5 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.1821, allocations: 104.8 kB / 452.6 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1822, allocations: 0 / 452.6 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1823, allocations: 4 kB / 452.6 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.1823, allocations: 0 / 452.6 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1823, allocations: 4.031 kB / 452.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002671/0.1826, allocations: 229.9 kB / 452.8 MB, free: 3.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1826, allocations: 3.938 kB / 452.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1829, allocations: 63.84 kB / 452.9 MB, free: 3.07 MB / 382.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.0001102/0.183, allocations: 95.23 kB / 453 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1833, allocations: 124.1 kB / 453.1 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1833, allocations: 4.062 kB / 453.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.1833, allocations: 4 kB / 453.1 MB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1837, allocations: 28.83 kB / 453.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.1846, allocations: 484.4 kB / 453.6 MB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1851, allocations: 0.7443 MB / 454.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1852, allocations: 25.92 kB / 454.4 MB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.1853, allocations: 19.44 kB / 454.4 MB, free: 1.492 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1853, allocations: 3.938 kB / 454.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of Templates: time 0.2518/0.4371, allocations: 1.645 MB / 456.1 MB, free: 46.11 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches