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.001226/0.001226, allocations: 109.8 kB / 16.41 MB, free: 6.488 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.00163/0.00163, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.709/1.709, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2401/0.2401, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001362/0.001362, allocations: 68.45 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003935/0.1508, allocations: 2.302 MB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1521, allocations: 0.6592 MB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1522, allocations: 4 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.1523, allocations: 39.58 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1525, allocations: 71.33 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1528, allocations: 87.89 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.1532, allocations: 347.2 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.1535, allocations: 163.4 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1538, allocations: 147.5 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.154, allocations: 155.4 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.1541, allocations: 32 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.1542, allocations: 32 kB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.1542, allocations: 63.83 kB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1544, allocations: 163.2 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.1548, allocations: 378.5 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1548, allocations: 0 / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1549, allocations: 0 / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1549, allocations: 0 / 0.4924 GB, free: 7.188 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.000981/0.1559, allocations: 0.5808 MB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1559, allocations: 11.89 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.156, allocations: 32.75 kB / 0.493 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1562, allocations: 204 kB / 0.4932 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.1562, allocations: 25.03 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.1563, allocations: 32.31 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.1568, allocations: 286.3 kB / 0.4935 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1568, allocations: 4 kB / 0.4935 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.1568, allocations: 16 kB / 0.4935 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1568, allocations: 8 kB / 0.4935 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.1572, allocations: 210.5 kB / 0.4937 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1589, allocations: 1.021 MB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.159, allocations: 34.52 kB / 0.4948 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.159, allocations: 24.92 kB / 0.4948 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.1591, allocations: 0 / 0.4948 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1591, allocations: 30.56 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1591, allocations: 4 kB / 0.4948 GB, free: 4.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002344/0.1593, allocations: 77.48 kB / 0.4949 GB, free: 4.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1594, allocations: 55.34 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.1597, allocations: 318.9 kB / 0.4953 GB, free: 4.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1598, allocations: 25.7 kB / 0.4953 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1599, allocations: 239.5 kB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.16, allocations: 11.94 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.16, allocations: 57.66 kB / 0.4956 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1602, allocations: 334.9 kB / 0.4959 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1604, allocations: 63.97 kB / 0.496 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1605, allocations: 86.19 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.1607, allocations: 123 kB / 0.4962 GB, free: 3.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1607, allocations: 0 / 0.4962 GB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003586/0.1611, allocations: 237.5 kB / 0.4964 GB, free: 2.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1611, allocations: 8 kB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1611, allocations: 3.938 kB / 0.4964 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1611, allocations: 0 / 0.4964 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.1614, allocations: 59.89 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1614, allocations: 0 / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.1616, allocations: 43.62 kB / 0.4965 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.1617, allocations: 8 kB / 0.4965 GB, free: 2.723 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.0001131/0.1618, allocations: 133.7 kB / 0.4966 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1619, allocations: 27.84 kB / 0.4967 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.1619, allocations: 24.83 kB / 0.4967 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1619, allocations: 4 kB / 0.4967 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1619, allocations: 4 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1619, allocations: 0 / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005523/0.1625, allocations: 0.5071 MB / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1625, allocations: 4 kB / 0.4972 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.1625, allocations: 4.062 kB / 0.4972 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1625, allocations: 4 kB / 0.4972 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1626, allocations: 3.938 kB / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1626, allocations: 0 / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1626, allocations: 0 / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1627, allocations: 109.7 kB / 0.4973 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.1628, allocations: 97 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.1628, allocations: 4.031 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.1629, allocations: 4 kB / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1629, allocations: 0 / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.163, allocations: 0 / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.1632, allocations: 229.9 kB / 0.4976 GB, free: 1.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1632, allocations: 0 / 0.4976 GB, free: 1.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1634, allocations: 67.84 kB / 0.4977 GB, free: 1.387 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.397e-05/0.1635, allocations: 91.25 kB / 0.4978 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1638, allocations: 111.9 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1638, allocations: 0 / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.1638, allocations: 19.92 kB / 0.4979 GB, free: 1.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1641, allocations: 23.48 kB / 0.4979 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.1648, allocations: 383 kB / 0.4983 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1651, allocations: 0.7441 MB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.1652, allocations: 17.94 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.1653, allocations: 23.44 kB / 0.499 GB, free: 15.92 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1653, allocations: 0 / 0.499 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Templates: time 0.004621/0.1699, allocations: 1.791 MB / 0.5008 GB, free: 14.14 MB / 398.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