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.001238/0.001239, allocations: 104 kB / 16.4 MB, free: 6.508 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.001299/0.001299, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.853/1.853, 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.2371/0.2371, allocations: 43.52 MB / 314.1 MB, free: 456 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.001353/0.001353, allocations: 73.45 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1446, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003869/0.1485, allocations: 2.31 MB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1498, allocations: 0.6553 MB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.1499, allocations: 4 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.15, allocations: 47.52 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1502, allocations: 71.33 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1505, allocations: 91.88 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.1509, allocations: 343.2 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.1512, allocations: 159.4 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1514, allocations: 135.6 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.1517, allocations: 163.3 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1517, allocations: 36 kB / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.1518, allocations: 32 kB / 0.4918 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.1519, allocations: 67.77 kB / 0.4919 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.1521, allocations: 155.3 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.1525, allocations: 382.6 kB / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1525, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1525, allocations: 0 / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1525, allocations: 0 / 0.4924 GB, free: 7.164 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.001125/0.1537, allocations: 0.5729 MB / 0.4929 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1537, allocations: 11.89 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.1538, allocations: 32.56 kB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.154, allocations: 211.9 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1541, allocations: 25.03 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.1541, allocations: 32.38 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.1546, allocations: 274.4 kB / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1546, allocations: 0 / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.1547, allocations: 16 kB / 0.4935 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1547, allocations: 8 kB / 0.4935 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.1551, allocations: 218.5 kB / 0.4937 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1567, allocations: 1.017 MB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.403e-05/0.1568, allocations: 30.56 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.1569, allocations: 24.92 kB / 0.4948 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.1569, allocations: 4 kB / 0.4948 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.157, allocations: 34.5 kB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.157, allocations: 0 / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002204/0.1572, allocations: 77.36 kB / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1572, allocations: 51.41 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.1576, allocations: 322.8 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1576, allocations: 25.7 kB / 0.4953 GB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1578, allocations: 234.9 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.1578, allocations: 11.98 kB / 0.4955 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.1579, allocations: 57.52 kB / 0.4955 GB, free: 3.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.158, allocations: 330.8 kB / 0.4959 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1582, allocations: 63.97 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1583, allocations: 86.19 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1585, allocations: 130.9 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1585, allocations: 0 / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003571/0.1589, allocations: 229.4 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1589, allocations: 8 kB / 0.4964 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1589, allocations: 3.938 kB / 0.4964 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.159, allocations: 0 / 0.4964 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1592, allocations: 55.97 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1592, allocations: 3.938 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.1595, allocations: 47.55 kB / 0.4965 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1595, allocations: 8 kB / 0.4965 GB, free: 2.719 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.0001184/0.1596, allocations: 129.8 kB / 0.4966 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1596, allocations: 23.72 kB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.1597, allocations: 24.83 kB / 0.4966 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1597, allocations: 7.938 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1597, allocations: 0 / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1597, allocations: 3.938 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.1603, allocations: 0.5033 MB / 0.4971 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1603, allocations: 4 kB / 0.4971 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.1603, allocations: 3.938 kB / 0.4972 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1603, allocations: 7.984 kB / 0.4972 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1604, allocations: 0 / 0.4972 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1604, allocations: 0 / 0.4972 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1604, allocations: 0 / 0.4972 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1605, allocations: 101.7 kB / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.1606, allocations: 96.91 kB / 0.4973 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1606, allocations: 7.922 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.1607, allocations: 8 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.1608, allocations: 0 / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1608, allocations: 0 / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.161, allocations: 222 kB / 0.4976 GB, free: 1.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.161, allocations: 4.031 kB / 0.4976 GB, free: 1.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1613, allocations: 67.75 kB / 0.4976 GB, free: 1.395 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.0001143/0.1614, allocations: 99.17 kB / 0.4977 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1617, allocations: 111.9 kB / 0.4978 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1617, allocations: 0 / 0.4978 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.1617, allocations: 12 kB / 0.4979 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.162, allocations: 25 kB / 0.4979 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.1627, allocations: 375.4 kB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1631, allocations: 0.744 MB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1632, allocations: 29.92 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.1633, allocations: 15.44 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1633, allocations: 0 / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004837/0.1681, allocations: 1.795 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