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.431/2.431, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.392e-05, allocations: 0 / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 54.84 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.923/2.336, allocations: 0.6081 GB / 0.9642 GB, free: 121.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/2.336, allocations: 94.75 kB / 0.9643 GB, free: 121.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322/3.658, allocations: 230.8 MB / 1.19 GB, free: 92.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/3.658, allocations: 0 / 1.19 GB, free: 92.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.408e-05/3.658, allocations: 8 kB / 1.19 GB, free: 92.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.003654/3.662, allocations: 0.916 MB / 1.191 GB, free: 91.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/3.662, allocations: 16.19 kB / 1.191 GB, free: 91.48 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/3.662, allocations: 82.52 kB / 1.191 GB, free: 91.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/3.664, allocations: 143.1 kB / 1.191 GB, free: 91.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/3.666, allocations: 0.5397 MB / 1.191 GB, free: 90.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/3.667, allocations: 29 kB / 1.191 GB, free: 90.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/3.667, allocations: 40 kB / 1.191 GB, free: 90.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/3.669, allocations: 0.5724 MB / 1.192 GB, free: 90 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/3.669, allocations: 0 / 1.192 GB, free: 90 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/3.669, allocations: 24 kB / 1.192 GB, free: 89.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/3.669, allocations: 12 kB / 1.192 GB, free: 89.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/3.671, allocations: 454.8 kB / 1.192 GB, free: 89.52 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00545/3.676, allocations: 2.599 MB / 1.195 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/3.678, allocations: 295.7 kB / 1.195 GB, free: 86.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/3.678, allocations: 153.4 kB / 1.195 GB, free: 86.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/3.679, allocations: 328.7 kB / 1.196 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/3.679, allocations: 42.84 kB / 1.196 GB, free: 85.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/3.679, allocations: 0 / 1.196 GB, free: 85.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002174/3.681, allocations: 424 kB / 1.196 GB, free: 85.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/3.681, allocations: 144.4 kB / 1.196 GB, free: 85.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/3.682, allocations: 386.9 kB / 1.197 GB, free: 84.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/3.682, allocations: 41.64 kB / 1.197 GB, free: 84.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/3.683, allocations: 337.4 kB / 1.197 GB, free: 84.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/3.683, allocations: 118.2 kB / 1.197 GB, free: 84.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/3.683, allocations: 12 kB / 1.197 GB, free: 84.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/3.683, allocations: 334.8 kB / 1.197 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/3.683, allocations: 165.1 kB / 1.198 GB, free: 83.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/3.684, allocations: 331.4 kB / 1.198 GB, free: 83.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/3.684, allocations: 225.4 kB / 1.198 GB, free: 83.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/3.684, allocations: 0 / 1.198 GB, free: 83.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001502/3.686, allocations: 0.5963 MB / 1.199 GB, free: 82.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/3.686, allocations: 8.656 kB / 1.199 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/3.686, allocations: 4 kB / 1.199 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/3.688, allocations: 240.6 kB / 1.199 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/3.689, allocations: 159.8 kB / 1.199 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008741/3.698, allocations: 28.71 MB / 1.227 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/3.699, allocations: 71.62 kB / 1.227 GB, free: 51.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/3.699, allocations: 55.98 kB / 1.227 GB, free: 51.44 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 () * 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.0001802/3.699, allocations: 136.8 kB / 1.227 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/3.699, allocations: 51.38 kB / 1.227 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/3.701, allocations: 0.6443 MB / 1.228 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/3.701, allocations: 4 kB / 1.228 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/3.701, allocations: 4 kB / 1.228 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/3.701, allocations: 11.91 kB / 1.228 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/3.704, allocations: 1.122 MB / 1.229 GB, free: 49.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/3.704, allocations: 4.219 kB / 1.229 GB, free: 49.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/3.704, allocations: 63.91 kB / 1.229 GB, free: 49.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/3.706, allocations: 236.6 kB / 1.23 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/3.706, allocations: 12 kB / 1.23 GB, free: 49.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/3.706, allocations: 0.5874 MB / 1.23 GB, free: 48.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.706, allocations: 7.969 kB / 1.23 GB, free: 48.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/3.707, allocations: 0.5491 MB / 1.231 GB, free: 47.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/3.708, allocations: 148.4 kB / 1.231 GB, free: 47.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/3.708, allocations: 8 kB / 1.231 GB, free: 47.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/3.708, allocations: 43.84 kB / 1.231 GB, free: 47.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/3.708, allocations: 23.97 kB / 1.231 GB, free: 47.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/3.708, allocations: 19.92 kB / 1.231 GB, free: 47.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005374/3.709, allocations: 325.6 kB / 1.231 GB, free: 47.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.709, allocations: 0 / 1.231 GB, free: 47.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00224/3.711, allocations: 435.1 kB / 1.232 GB, free: 46.78 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 () * 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.003718/3.715, allocations: 2.644 MB / 1.234 GB, free: 44.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/3.716, allocations: 398.8 kB / 1.235 GB, free: 43.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/3.716, allocations: 0 / 1.235 GB, free: 43.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/3.717, allocations: 147.8 kB / 1.235 GB, free: 43.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/3.719, allocations: 222.7 kB / 1.235 GB, free: 43.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/3.729, allocations: 2.422 MB / 1.237 GB, free: 41.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/3.73, allocations: 0.8667 MB / 1.238 GB, free: 40.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/3.73, allocations: 231.3 kB / 1.238 GB, free: 40.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/3.73, allocations: 0 / 1.238 GB, free: 40.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.598/7.328, allocations: 30.24 MB / 1.268 GB, free: 9.762 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