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: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 106.4 kB / 16.41 MB, free: 6.008 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.001408/0.001408, allocations: 192.2 kB / 17.34 MB, free: 5.578 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.685/1.685, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2607/0.2607, allocations: 43.53 MB / 314.1 MB, free: 440 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.003159/0.003159, allocations: 69.61 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1514, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004804/0.1563, allocations: 2.309 MB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1577, allocations: 0.6592 MB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1579, allocations: 7.938 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.158, allocations: 39.58 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1582, allocations: 67.34 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1585, allocations: 95.88 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1591, allocations: 347.2 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.1594, allocations: 151.5 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1596, allocations: 143.5 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.16, allocations: 159.4 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.1601, allocations: 32 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.1602, allocations: 32 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.1603, allocations: 71.75 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.1604, allocations: 155.3 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.1609, allocations: 374.5 kB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1609, allocations: 0 / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.179e-06/0.1609, allocations: 3.984 kB / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1609, allocations: 0 / 0.4919 GB, free: 7.664 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.001113/0.162, allocations: 0.5847 MB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1621, allocations: 11.89 kB / 0.4925 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.273e-05/0.1622, allocations: 70.72 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.1623, allocations: 32.75 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1625, allocations: 204 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.1626, allocations: 29.03 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1626, allocations: 28.38 kB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.1632, allocations: 278.2 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1632, allocations: 0 / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1633, allocations: 15.94 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1633, allocations: 12 kB / 0.4931 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.1637, allocations: 218.5 kB / 0.4933 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.1656, allocations: 1.017 MB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.1657, allocations: 30.58 kB / 0.4943 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.1658, allocations: 32.91 kB / 0.4944 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1658, allocations: 4 kB / 0.4944 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1659, allocations: 34.5 kB / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1659, allocations: 0 / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.1661, allocations: 73.5 kB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.1662, allocations: 55.41 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.1666, allocations: 319 kB / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1666, allocations: 29.7 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1668, allocations: 235.5 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.1669, allocations: 7.938 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.167, allocations: 57.66 kB / 0.4952 GB, free: 4.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1672, allocations: 330.8 kB / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1673, allocations: 59.98 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1675, allocations: 94.11 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.1677, allocations: 131 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1677, allocations: 0 / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004219/0.1681, allocations: 229.5 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1682, allocations: 11.92 kB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1682, allocations: 4 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1682, allocations: 0 / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.1685, allocations: 51.91 kB / 0.496 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1685, allocations: 4 kB / 0.496 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1688, allocations: 47.64 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.1688, allocations: 12 kB / 0.4961 GB, free: 3.113 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.0002127/0.169, allocations: 133.7 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.1691, allocations: 23.78 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.1691, allocations: 24.89 kB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1691, allocations: 0 / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1692, allocations: 0 / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1692, allocations: 0 / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.1699, allocations: 0.5072 MB / 0.4968 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1699, allocations: 3.938 kB / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.17, allocations: 4 kB / 0.4968 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.17, allocations: 0 / 0.4968 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.17, allocations: 0 / 0.4968 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.17, allocations: 7.984 kB / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.17, allocations: 0 / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.1702, allocations: 105.8 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.1703, allocations: 105 kB / 0.497 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1703, allocations: 4 kB / 0.497 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1704, allocations: 3.984 kB / 0.497 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.1704, allocations: 4 kB / 0.497 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1704, allocations: 3.938 kB / 0.497 GB, free: 2.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.1707, allocations: 226 kB / 0.4972 GB, free: 1.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1707, allocations: 0 / 0.4972 GB, free: 1.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.171, allocations: 67.84 kB / 0.4973 GB, free: 1.781 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.000504/0.1715, allocations: 0.6249 MB / 0.4979 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1718, allocations: 123.9 kB / 0.498 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1718, allocations: 0 / 0.498 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.1718, allocations: 11.94 kB / 0.498 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1722, allocations: 20.89 kB / 0.498 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.1757, allocations: 2.241 MB / 0.5002 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1761, allocations: 0.744 MB / 0.5009 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.1762, allocations: 17.95 kB / 0.501 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1764, allocations: 75.41 kB / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1764, allocations: 0 / 0.501 GB, free: 13.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.2054, allocations: 4.148 MB / 0.5051 GB, free: 9.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.363, allocations: 0 / 0.5051 GB, free: 9.613 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/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