Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.673e-05, allocations: 0 / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4322, allocations: 54.86 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.896/2.328, allocations: 0.6092 GB / 0.9653 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/2.329, allocations: 90.14 kB / 0.9654 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254/3.583, allocations: 269.4 MB / 1.228 GB, free: 52.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.894e-06/3.583, allocations: 0 / 1.228 GB, free: 52.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.817e-05/3.583, allocations: 15.98 kB / 1.228 GB, free: 52.37 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003901/3.587, allocations: 1.205 MB / 1.23 GB, free: 51.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/3.587, allocations: 15.97 kB / 1.23 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001982/3.587, allocations: 86.52 kB / 1.23 GB, free: 51.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/3.589, allocations: 151.2 kB / 1.23 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/3.591, allocations: 0.5209 MB / 1.23 GB, free: 50.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/3.591, allocations: 33 kB / 1.23 GB, free: 50.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/3.591, allocations: 44 kB / 1.23 GB, free: 50.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/3.592, allocations: 0.6261 MB / 1.231 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/3.593, allocations: 3.938 kB / 1.231 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/3.593, allocations: 24 kB / 1.231 GB, free: 49.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/3.593, allocations: 8 kB / 1.231 GB, free: 49.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/3.594, allocations: 487.7 kB / 1.232 GB, free: 49.03 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.004237/3.598, allocations: 2.567 MB / 1.234 GB, free: 46.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/3.599, allocations: 294.7 kB / 1.234 GB, free: 45.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/3.6, allocations: 161 kB / 1.235 GB, free: 45.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/3.6, allocations: 321.6 kB / 1.235 GB, free: 45.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/3.6, allocations: 43.14 kB / 1.235 GB, free: 45.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.848e-06/3.6, allocations: 0 / 1.235 GB, free: 45.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001554/3.602, allocations: 445.4 kB / 1.235 GB, free: 44.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/3.602, allocations: 162.2 kB / 1.235 GB, free: 44.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/3.603, allocations: 395.8 kB / 1.236 GB, free: 44.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/3.603, allocations: 33.7 kB / 1.236 GB, free: 44.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/3.603, allocations: 361.7 kB / 1.236 GB, free: 43.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/3.603, allocations: 130.1 kB / 1.236 GB, free: 43.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/3.603, allocations: 8 kB / 1.236 GB, free: 43.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.397e-05/3.603, allocations: 334.8 kB / 1.237 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/3.604, allocations: 133.1 kB / 1.237 GB, free: 43.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/3.604, allocations: 354.7 kB / 1.237 GB, free: 42.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/3.605, allocations: 199.9 kB / 1.237 GB, free: 42.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/3.605, allocations: 4 kB / 1.237 GB, free: 42.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001361/3.606, allocations: 0.5446 MB / 1.238 GB, free: 42.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/3.606, allocations: 11.98 kB / 1.238 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/3.606, allocations: 8 kB / 1.238 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/3.608, allocations: 237.1 kB / 1.238 GB, free: 41.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/3.609, allocations: 131.8 kB / 1.238 GB, free: 41.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005217/3.61, allocations: 0.5913 MB / 1.239 GB, free: 41.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/3.61, allocations: 67.53 kB / 1.239 GB, free: 41.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/3.61, allocations: 55.98 kB / 1.239 GB, free: 41.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0001759/3.611, allocations: 140.8 kB / 1.239 GB, free: 40.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/3.611, allocations: 51.34 kB / 1.239 GB, free: 40.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/3.613, allocations: 0.6595 MB / 1.24 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/3.613, allocations: 8 kB / 1.24 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/3.613, allocations: 4 kB / 1.24 GB, free: 40.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/3.613, allocations: 7.938 kB / 1.24 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/3.616, allocations: 1.496 MB / 1.241 GB, free: 38.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/3.616, allocations: 4 kB / 1.241 GB, free: 38.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/3.616, allocations: 75.89 kB / 1.241 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002032/3.619, allocations: 232.8 kB / 1.242 GB, free: 38.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/3.619, allocations: 15.98 kB / 1.242 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004532/3.619, allocations: 0.5874 MB / 1.242 GB, free: 37.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/3.619, allocations: 7.938 kB / 1.242 GB, free: 37.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/3.62, allocations: 0.6694 MB / 1.243 GB, free: 36.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/3.62, allocations: 140.4 kB / 1.243 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/3.621, allocations: 15.94 kB / 1.243 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/3.621, allocations: 27.98 kB / 1.243 GB, free: 36.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/3.621, allocations: 39.91 kB / 1.243 GB, free: 36.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/3.621, allocations: 27.98 kB / 1.243 GB, free: 36.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004849/3.622, allocations: 305.6 kB / 1.243 GB, free: 36.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.622, allocations: 4 kB / 1.243 GB, free: 36.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00197/3.624, allocations: 451.3 kB / 1.244 GB, free: 35.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.004204/3.628, allocations: 3.09 MB / 1.247 GB, free: 32.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/3.629, allocations: 397.1 kB / 1.247 GB, free: 32.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/3.629, allocations: 0 / 1.247 GB, free: 32.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/3.63, allocations: 188.4 kB / 1.247 GB, free: 32.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/3.632, allocations: 277.1 kB / 1.248 GB, free: 31.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00999/3.642, allocations: 2.349 MB / 1.25 GB, free: 29.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/3.643, allocations: 0.8713 MB / 1.251 GB, free: 28.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007219/3.643, allocations: 243.3 kB / 1.251 GB, free: 28.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/3.643, allocations: 0 / 1.251 GB, free: 28.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.129/6.773, allocations: 21.02 MB / 1.271 GB, free: 7.164 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat