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.00546/0.005461, allocations: 99.98 kB / 15.87 MB, free: 6.309 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.00118/0.00118, allocations: 194.3 kB / 16.78 MB, free: 6.238 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.806/1.806, allocations: 205.1 MB / 222.6 MB, free: 4.75 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.3908/0.3908, allocations: 43.49 MB / 313.5 MB, free: 8.531 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.001429/0.001429, allocations: 66.56 kB / 382 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1425, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003605/0.1462, allocations: 2.358 MB / 442.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009924/0.1472, allocations: 0.6438 MB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.409e-05/0.1473, allocations: 4 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1474, allocations: 35.77 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1476, allocations: 63.45 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1478, allocations: 75.92 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1481, allocations: 331.2 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.1484, allocations: 143.8 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1486, allocations: 119.6 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1488, allocations: 155.3 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.1489, allocations: 20 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.1489, allocations: 24 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.149, allocations: 67.77 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.1491, allocations: 139.3 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1494, allocations: 366.9 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1494, allocations: 0 / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.1494, allocations: 4 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1495, allocations: 3.938 kB / 444.3 MB, free: 10.29 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.001056/0.1505, allocations: 0.5735 MB / 444.9 MB, free: 9.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1506, allocations: 8.031 kB / 444.9 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.1507, allocations: 32.56 kB / 444.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1509, allocations: 203.9 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.151, allocations: 29.22 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.1511, allocations: 28.38 kB / 445.2 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.1516, allocations: 282.2 kB / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1516, allocations: 0 / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1516, allocations: 12 kB / 445.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1516, allocations: 11.94 kB / 445.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.152, allocations: 218.5 kB / 445.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1537, allocations: 1.024 MB / 446.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.1538, allocations: 34.58 kB / 446.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.1539, allocations: 28.91 kB / 446.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.1539, allocations: 0 / 446.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1539, allocations: 30.56 kB / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1539, allocations: 0 / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000212/0.1541, allocations: 73.39 kB / 446.9 MB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1542, allocations: 51.41 kB / 447 MB, free: 7.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.1546, allocations: 334.8 kB / 447.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1546, allocations: 25.7 kB / 447.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1547, allocations: 238.8 kB / 447.5 MB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.1548, allocations: 7.984 kB / 447.5 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.631e-05/0.1548, allocations: 61.52 kB / 447.6 MB, free: 6.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.155, allocations: 330.8 kB / 447.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1551, allocations: 59.98 kB / 448 MB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1553, allocations: 98.42 kB / 448.1 MB, free: 6.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.1555, allocations: 121.6 kB / 448.2 MB, free: 6.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1555, allocations: 0 / 448.2 MB, free: 6.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003974/0.1559, allocations: 230 kB / 448.4 MB, free: 5.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1559, allocations: 11.94 kB / 448.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1559, allocations: 7.938 kB / 448.4 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.156, allocations: 3.938 kB / 448.5 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.1562, allocations: 55.95 kB / 448.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1563, allocations: 4.031 kB / 448.5 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1565, allocations: 39.53 kB / 448.5 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1565, allocations: 8 kB / 448.6 MB, free: 5.824 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.0001149/0.1566, allocations: 137.7 kB / 448.7 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.1567, allocations: 27.64 kB / 448.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.1567, allocations: 20.91 kB / 448.7 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1567, allocations: 0 / 448.7 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1568, allocations: 3.984 kB / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1568, allocations: 4 kB / 448.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005465/0.1573, allocations: 0.5072 MB / 449.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1573, allocations: 0 / 449.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.1574, allocations: 4 kB / 449.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1574, allocations: 0 / 449.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1574, allocations: 0 / 449.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1574, allocations: 0 / 449.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1574, allocations: 3.938 kB / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1575, allocations: 105.7 kB / 449.4 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.1576, allocations: 100.9 kB / 449.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1577, allocations: 4 kB / 449.5 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.1578, allocations: 0 / 449.5 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1578, allocations: 4 kB / 449.5 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1578, allocations: 7.984 kB / 449.5 MB, free: 4.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.158, allocations: 222 kB / 449.7 MB, free: 4.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 0 / 449.7 MB, free: 4.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1583, allocations: 67.75 kB / 449.8 MB, free: 4.504 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 8.877e-05/0.1584, allocations: 95.23 kB / 449.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1587, allocations: 128.1 kB / 450 MB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1587, allocations: 3.938 kB / 450 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.1587, allocations: 8.125 kB / 450 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1591, allocations: 32.88 kB / 450 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.1598, allocations: 477.1 kB / 450.5 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.16, allocations: 0.7443 MB / 451.2 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1602, allocations: 21.94 kB / 451.3 MB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.1602, allocations: 19.44 kB / 451.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1602, allocations: 0 / 451.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of Templates: time 0.00438/0.1646, allocations: 1.661 MB / 452.9 MB, free: 1.27 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