Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01122/0.01123, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001261/0.001261, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.993/1.993, allocations: 194.6 MB / 211.3 MB, free: 11.23 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3361/0.3361, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.000502, allocations: 15.98 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004658/0.1405, allocations: 1.808 MB / 417.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.142, allocations: 0.6249 MB / 418.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1421, allocations: 4 kB / 418.5 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.802e-05/0.1422, allocations: 27.78 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1425, allocations: 75.75 kB / 418.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1428, allocations: 60.02 kB / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.1431, allocations: 224 kB / 418.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.1434, allocations: 114.6 kB / 419 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.1437, allocations: 115.6 kB / 419.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.144, allocations: 127.5 kB / 419.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.144, allocations: 16 kB / 419.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.1441, allocations: 23.94 kB / 419.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.1442, allocations: 51.83 kB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.1443, allocations: 73.52 kB / 419.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1447, allocations: 279.4 kB / 419.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1447, allocations: 0 / 419.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1447, allocations: 0 / 419.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1447, allocations: 0 / 419.6 MB, free: 14.95 MB / 362.7 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.001181/0.1459, allocations: 0.5342 MB / 420.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.146, allocations: 8.031 kB / 420.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1461, allocations: 70.53 kB / 420.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.1462, allocations: 31.62 kB / 420.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1464, allocations: 198.6 kB / 420.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.1466, allocations: 32.66 kB / 420.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.1466, allocations: 35.95 kB / 420.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.1474, allocations: 274.1 kB / 420.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1474, allocations: 0 / 420.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.1475, allocations: 16 kB / 420.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1475, allocations: 8 kB / 420.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.1482, allocations: 218.5 kB / 421 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1508, allocations: 1.021 MB / 422.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.151, allocations: 30.53 kB / 422.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.151, allocations: 4 kB / 422.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.151, allocations: 42.53 kB / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.151, allocations: 0 / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.00027/0.1513, allocations: 77.52 kB / 422.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1514, allocations: 51.41 kB / 422.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.1519, allocations: 322.8 kB / 422.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.152, allocations: 25.7 kB / 422.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.1522, allocations: 230.8 kB / 422.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1522, allocations: 7.906 kB / 422.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.1523, allocations: 8 kB / 422.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1524, allocations: 330.8 kB / 423.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1527, allocations: 68 kB / 423.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.1529, allocations: 98.36 kB / 423.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.1532, allocations: 68 kB / 423.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1532, allocations: 0 / 423.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006589/0.1539, allocations: 237.4 kB / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1539, allocations: 8 kB / 423.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1539, allocations: 4.031 kB / 423.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.154, allocations: 3.938 kB / 423.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.1545, allocations: 59.91 kB / 423.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1545, allocations: 3.984 kB / 423.7 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.155, allocations: 47.38 kB / 423.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.155, allocations: 8 kB / 423.8 MB, free: 10.57 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.1552, allocations: 129.8 kB / 423.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1553, allocations: 19.77 kB / 423.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.1554, allocations: 32.84 kB / 423.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1554, allocations: 0 / 423.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1554, allocations: 0 / 423.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1554, allocations: 0 / 423.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/0.1563, allocations: 0.5225 MB / 424.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1564, allocations: 0 / 424.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.1564, allocations: 4 kB / 424.5 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1564, allocations: 4.062 kB / 424.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1565, allocations: 0 / 424.5 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1565, allocations: 4 kB / 424.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1565, allocations: 3.938 kB / 424.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.1567, allocations: 103.5 kB / 424.6 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1568, allocations: 112.8 kB / 424.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.1569, allocations: 4.031 kB / 424.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1571, allocations: 0 / 424.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.1571, allocations: 4 kB / 424.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1571, allocations: 0 / 424.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003887/0.1575, allocations: 221.9 kB / 424.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1575, allocations: 4 kB / 424.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.1579, allocations: 63.84 kB / 425 MB, free: 9.238 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006569/0.1586, allocations: 0.7185 MB / 425.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.159, allocations: 116.7 kB / 425.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.159, allocations: 96 / 425.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.1591, allocations: 15.98 kB / 425.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1594, allocations: 16.89 kB / 425.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1622, allocations: 1.379 MB / 427.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1626, allocations: 0.7482 MB / 428 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.1629, allocations: 17.94 kB / 428 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1631, allocations: 79.41 kB / 428.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1631, allocations: 3.938 kB / 428.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1889, allocations: 3.705 MB / 431.8 MB, free: 2.398 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.1893, allocations: 172.6 kB / 431.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.542, allocations: 0 / 431.9 MB, free: 2.156 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat