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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.399/2.399, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.874e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3668, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.905/2.272, allocations: 0.6085 GB / 0.9583 GB, free: 66.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/2.273, allocations: 90.69 kB / 0.9584 GB, free: 66.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341/3.613, allocations: 266.4 MB / 1.218 GB, free: 6.172 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.694e-06/3.614, allocations: 0 / 1.218 GB, free: 6.172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.402e-05/3.614, allocations: 19.94 kB / 1.219 GB, free: 6.152 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.003735/3.617, allocations: 1.205 MB / 1.22 GB, free: 4.902 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/3.617, allocations: 12.03 kB / 1.22 GB, free: 4.891 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/3.619, allocations: 151.1 kB / 1.22 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/3.621, allocations: 0.5311 MB / 1.22 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/3.621, allocations: 16 kB / 1.22 GB, free: 4.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/3.621, allocations: 24 kB / 1.22 GB, free: 4.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/3.622, allocations: 430.5 kB / 1.221 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/3.623, allocations: 0.5344 MB / 1.221 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/3.623, allocations: 4 kB / 1.221 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/3.623, allocations: 0 / 1.221 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/3.623, allocations: 15.98 kB / 1.221 GB, free: 3.102 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.003693/3.627, allocations: 2.558 MB / 1.224 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/3.627, allocations: 228.6 kB / 1.224 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/3.627, allocations: 132.8 kB / 1.224 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3649/3.992, allocations: 315 kB / 1.224 GB, free: 88.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/3.992, allocations: 38.25 kB / 1.225 GB, free: 88.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.617e-06/3.992, allocations: 0 / 1.225 GB, free: 88.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.00481/3.997, allocations: 0.7665 MB / 1.225 GB, free: 88.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/3.997, allocations: 161.8 kB / 1.225 GB, free: 88.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/3.998, allocations: 389.6 kB / 1.226 GB, free: 88.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/3.998, allocations: 28.11 kB / 1.226 GB, free: 88.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/3.999, allocations: 369.7 kB / 1.226 GB, free: 87.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/3.999, allocations: 112.9 kB / 1.226 GB, free: 87.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/3.999, allocations: 1.625 kB / 1.226 GB, free: 87.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/3.999, allocations: 332.7 kB / 1.227 GB, free: 87.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/3.999, allocations: 124.1 kB / 1.227 GB, free: 87.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/4, allocations: 342.9 kB / 1.227 GB, free: 87.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/4.004, allocations: 0.6014 MB / 1.228 GB, free: 87.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/4.004, allocations: 1.531 kB / 1.228 GB, free: 87.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004767/4.009, allocations: 0.931 MB / 1.229 GB, free: 87.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/4.009, allocations: 10.19 kB / 1.229 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/4.009, allocations: 10.12 kB / 1.229 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/4.009, allocations: 49.2 kB / 1.229 GB, free: 87.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/4.01, allocations: 132 kB / 1.229 GB, free: 87.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007675/4.011, allocations: 0.6049 MB / 1.229 GB, free: 86.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/4.011, allocations: 63.58 kB / 1.229 GB, free: 86.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/4.011, allocations: 56.08 kB / 1.229 GB, free: 86.58 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.0001869/4.012, allocations: 126.2 kB / 1.23 GB, free: 86.48 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004204/4.016, allocations: 0.7765 MB / 1.23 GB, free: 86.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/4.016, allocations: 49.28 kB / 1.23 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/4.019, allocations: 0.6086 MB / 1.231 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/4.019, allocations: 3.031 kB / 1.231 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/4.019, allocations: 3.047 kB / 1.231 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/4.019, allocations: 1.688 kB / 1.231 GB, free: 86.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/4.022, allocations: 1.104 MB / 1.232 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/4.022, allocations: 3.875 kB / 1.232 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/4.022, allocations: 44.98 kB / 1.232 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/4.022, allocations: 45.61 kB / 1.232 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/4.022, allocations: 10.39 kB / 1.232 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006135/4.023, allocations: 0.5993 MB / 1.233 GB, free: 85.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/4.023, allocations: 13.38 kB / 1.233 GB, free: 85.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/4.025, allocations: 0.6245 MB / 1.233 GB, free: 84.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/4.025, allocations: 152.5 kB / 1.234 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/4.025, allocations: 3.906 kB / 1.234 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/4.026, allocations: 24.73 kB / 1.234 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/4.026, allocations: 21.47 kB / 1.234 GB, free: 84.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/4.026, allocations: 18.59 kB / 1.234 GB, free: 84.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000507/4.026, allocations: 317.1 kB / 1.234 GB, free: 84.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/4.026, allocations: 5.219 kB / 1.234 GB, free: 84.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002052/4.028, allocations: 405.5 kB / 1.234 GB, free: 84.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.005284/4.034, allocations: 3.064 MB / 1.237 GB, free: 83.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/4.035, allocations: 327.6 kB / 1.238 GB, free: 83.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/4.035, allocations: 2.562 kB / 1.238 GB, free: 83.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/4.035, allocations: 114.9 kB / 1.238 GB, free: 83.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/4.038, allocations: 251.7 kB / 1.238 GB, free: 83.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/4.05, allocations: 2.62 MB / 1.24 GB, free: 82.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/4.05, allocations: 0.8708 MB / 1.241 GB, free: 82.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/4.051, allocations: 247.6 kB / 1.242 GB, free: 82.05 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/4.051, allocations: 0 / 1.242 GB, free: 82.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.13/7.181, allocations: 21.1 MB / 1.262 GB, free: 81.5 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