Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004467, allocations: 12 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.35, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.84/2.19, allocations: 0.6082 GB / 0.9689 GB, free: 50.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/2.191, allocations: 104.9 kB / 0.969 GB, free: 50.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144/3.334, allocations: 231.5 MB / 1.195 GB, free: 22.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/3.334, allocations: 0 / 1.195 GB, free: 22.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.509e-05/3.335, allocations: 8 kB / 1.195 GB, free: 22.45 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003388/3.338, allocations: 1.016 MB / 1.196 GB, free: 21.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/3.338, allocations: 8.031 kB / 1.196 GB, free: 21.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/3.338, allocations: 86.47 kB / 1.196 GB, free: 21.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/3.34, allocations: 143.1 kB / 1.196 GB, free: 21.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/3.342, allocations: 0.5404 MB / 1.197 GB, free: 20.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/3.342, allocations: 33 kB / 1.197 GB, free: 20.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/3.343, allocations: 40 kB / 1.197 GB, free: 20.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/3.345, allocations: 0.5845 MB / 1.197 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/3.345, allocations: 7.938 kB / 1.197 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/3.345, allocations: 24 kB / 1.197 GB, free: 19.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/3.345, allocations: 12 kB / 1.198 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/3.347, allocations: 487.6 kB / 1.198 GB, free: 19.34 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/3.353, allocations: 2.608 MB / 1.201 GB, free: 16.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/3.354, allocations: 325.4 kB / 1.201 GB, free: 16.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/3.355, allocations: 329.6 kB / 1.201 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/3.355, allocations: 35.36 kB / 1.201 GB, free: 15.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 4.298e-06/3.355, allocations: 0 / 1.201 GB, free: 15.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.003521/3.359, allocations: 0.6967 MB / 1.202 GB, free: 15.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/3.359, allocations: 132.5 kB / 1.202 GB, free: 14.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/3.359, allocations: 392.9 kB / 1.202 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/3.359, allocations: 33.7 kB / 1.202 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/3.359, allocations: 345.9 kB / 1.203 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/3.36, allocations: 110.4 kB / 1.203 GB, free: 14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/3.36, allocations: 12 kB / 1.203 GB, free: 13.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/3.36, allocations: 326.8 kB / 1.203 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/3.36, allocations: 189 kB / 1.203 GB, free: 13.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/3.361, allocations: 363.3 kB / 1.204 GB, free: 13.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/3.362, allocations: 237.8 kB / 1.204 GB, free: 12.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/3.362, allocations: 0 / 1.204 GB, free: 12.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001624/3.363, allocations: 0.6471 MB / 1.205 GB, free: 12.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/3.363, allocations: 14.61 kB / 1.205 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/3.363, allocations: 4 kB / 1.205 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/3.365, allocations: 240.9 kB / 1.205 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/3.366, allocations: 155.8 kB / 1.205 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3503/3.717, allocations: 28.71 MB / 1.233 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/3.717, allocations: 70.06 kB / 1.233 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/3.718, allocations: 55.41 kB / 1.233 GB, free: 77.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004315/3.718, allocations: 192 kB / 1.233 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/3.718, allocations: 52.5 kB / 1.233 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/3.721, allocations: 0.6627 MB / 1.234 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/3.721, allocations: 9.938 kB / 1.234 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/3.721, allocations: 3.938 kB / 1.234 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/3.721, allocations: 6.453 kB / 1.234 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/3.724, allocations: 1.168 MB / 1.235 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/3.724, allocations: 4.094 kB / 1.235 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/3.724, allocations: 60.58 kB / 1.235 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/3.726, allocations: 234 kB / 1.235 GB, free: 77.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/3.726, allocations: 13.28 kB / 1.235 GB, free: 77.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000508/3.727, allocations: 0.5915 MB / 1.236 GB, free: 76.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.727, allocations: 4.094 kB / 1.236 GB, free: 76.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/3.728, allocations: 0.5905 MB / 1.237 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/3.728, allocations: 154.2 kB / 1.237 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/3.729, allocations: 10.95 kB / 1.237 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/3.729, allocations: 30.75 kB / 1.237 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/3.729, allocations: 25.72 kB / 1.237 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/3.729, allocations: 21.52 kB / 1.237 GB, free: 76.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006627/3.73, allocations: 327.2 kB / 1.237 GB, free: 76.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.73, allocations: 0 / 1.237 GB, free: 76.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00283/3.733, allocations: 428.1 kB / 1.238 GB, free: 76.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004623/3.738, allocations: 2.689 MB / 1.24 GB, free: 74.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/3.739, allocations: 435 kB / 1.241 GB, free: 74.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/3.739, allocations: 3.719 kB / 1.241 GB, free: 74.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/3.74, allocations: 166.8 kB / 1.241 GB, free: 74.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/3.742, allocations: 224.8 kB / 1.241 GB, free: 74.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/3.755, allocations: 6.936 MB / 1.248 GB, free: 70.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/3.756, allocations: 0.8636 MB / 1.249 GB, free: 69.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006951/3.756, allocations: 231.1 kB / 1.249 GB, free: 69.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.223e-06/3.757, allocations: 0 / 1.249 GB, free: 69.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.395/7.151, allocations: 30.07 MB / 1.278 GB, free: 68.89 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat