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.001288/0.001288, allocations: 107.1 kB / 16.41 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.001386/0.001386, allocations: 189.5 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.829/1.829, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2546/0.2546, allocations: 43.52 MB / 314.1 MB, free: 464 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.00179/0.00179, allocations: 69.47 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1398, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004611/0.1445, allocations: 2.298 MB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1464, allocations: 0.667 MB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.1467, allocations: 4 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.147, allocations: 43.58 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.1474, allocations: 67.34 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1478, allocations: 87.88 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.1484, allocations: 343.2 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.1489, allocations: 163.4 kB / 0.4914 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.1493, allocations: 139.5 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.1498, allocations: 159.4 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.1499, allocations: 32 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.15, allocations: 32 kB / 0.4918 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.1501, allocations: 67.81 kB / 0.4919 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.1503, allocations: 163.3 kB / 0.492 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.1508, allocations: 374.7 kB / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1509, allocations: 0 / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1509, allocations: 0 / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.1509, allocations: 4 kB / 0.4924 GB, free: 7.176 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.001283/0.1522, allocations: 0.5729 MB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.1522, allocations: 11.89 kB / 0.4929 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1524, allocations: 32.56 kB / 0.493 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1526, allocations: 211.9 kB / 0.4932 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.1527, allocations: 21.03 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.1528, allocations: 32.38 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.1534, allocations: 278.4 kB / 0.4935 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1535, allocations: 7.938 kB / 0.4935 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.1535, allocations: 15.94 kB / 0.4935 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1535, allocations: 8 kB / 0.4935 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.154, allocations: 214.5 kB / 0.4937 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1561, allocations: 1.013 MB / 0.4947 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.466e-05/0.1562, allocations: 30.52 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.1563, allocations: 28.91 kB / 0.4948 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1563, allocations: 0 / 0.4948 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1563, allocations: 30.56 kB / 0.4948 GB, free: 4.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1563, allocations: 4 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002403/0.1566, allocations: 77.36 kB / 0.4949 GB, free: 4.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1566, allocations: 51.41 kB / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.157, allocations: 322.8 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.157, allocations: 29.64 kB / 0.4953 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1572, allocations: 230.8 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.1572, allocations: 11.98 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.1573, allocations: 61.64 kB / 0.4956 GB, free: 3.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1574, allocations: 330.8 kB / 0.4959 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1575, allocations: 59.98 kB / 0.4959 GB, free: 3.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1577, allocations: 90.17 kB / 0.496 GB, free: 3.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1579, allocations: 123 kB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1579, allocations: 0 / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004071/0.1583, allocations: 237.4 kB / 0.4964 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1584, allocations: 4 kB / 0.4964 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1584, allocations: 7.938 kB / 0.4964 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1584, allocations: 0 / 0.4964 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1587, allocations: 59.91 kB / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1587, allocations: 0 / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.159, allocations: 43.52 kB / 0.4965 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.159, allocations: 4 kB / 0.4965 GB, free: 2.734 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.0001333/0.1592, allocations: 137.8 kB / 0.4966 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.1592, allocations: 27.72 kB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.1593, allocations: 20.83 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1593, allocations: 7.938 kB / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1593, allocations: 0 / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1593, allocations: 0 / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.1599, allocations: 0.5072 MB / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1599, allocations: 0 / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.16, allocations: 8.062 kB / 0.4972 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.16, allocations: 0 / 0.4972 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.16, allocations: 3.984 kB / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.16, allocations: 0 / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.16, allocations: 0 / 0.4972 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.1602, allocations: 105.5 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.1603, allocations: 100.9 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.1603, allocations: 4.031 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1604, allocations: 7.984 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.1605, allocations: 0 / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1605, allocations: 0 / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.1607, allocations: 222 kB / 0.4976 GB, free: 1.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1607, allocations: 0 / 0.4976 GB, free: 1.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.161, allocations: 67.75 kB / 0.4976 GB, free: 1.406 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.0001123/0.1611, allocations: 95.23 kB / 0.4977 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1614, allocations: 115.9 kB / 0.4978 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1614, allocations: 0 / 0.4978 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1614, allocations: 15.94 kB / 0.4979 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1618, allocations: 24.81 kB / 0.4979 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.1626, allocations: 371.6 kB / 0.4982 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1629, allocations: 0.744 MB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.1631, allocations: 25.92 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.1631, allocations: 19.44 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1631, allocations: 0 / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Templates: time 0.005349/0.1685, allocations: 1.796 MB / 0.5008 GB, free: 14.15 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