Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.157/2.157, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007321/0.0007323, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3837, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.742/2.125, allocations: 0.6025 GB / 0.9261 GB, free: 45.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/2.126, allocations: 95.44 kB / 0.9262 GB, free: 45.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52/3.646, allocations: 270 MB / 1.19 GB, free: 77.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/3.646, allocations: 0 / 1.19 GB, free: 77.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.48e-05/3.646, allocations: 16.33 kB / 1.19 GB, free: 77.86 MB / 442.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.00421/3.651, allocations: 1.293 MB / 1.191 GB, free: 77.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/3.651, allocations: 11.47 kB / 1.191 GB, free: 77.22 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/3.651, allocations: 90.02 kB / 1.191 GB, free: 77.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/3.653, allocations: 154.2 kB / 1.191 GB, free: 77.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/3.654, allocations: 0.532 MB / 1.192 GB, free: 76.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/3.654, allocations: 39.92 kB / 1.192 GB, free: 76.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/3.654, allocations: 41.31 kB / 1.192 GB, free: 76.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/3.656, allocations: 0.6385 MB / 1.193 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/3.656, allocations: 0 / 1.193 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/3.656, allocations: 21.12 kB / 1.193 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/3.656, allocations: 14.38 kB / 1.193 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/3.658, allocations: 0.4995 MB / 1.193 GB, free: 76.74 MB / 442.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.004418/3.662, allocations: 2.567 MB / 1.196 GB, free: 75.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/3.664, allocations: 311.3 kB / 1.196 GB, free: 75.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/3.664, allocations: 318.2 kB / 1.196 GB, free: 74.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/3.664, allocations: 41.58 kB / 1.196 GB, free: 74.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.246e-06/3.664, allocations: 2.781 kB / 1.196 GB, free: 74.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002576/3.667, allocations: 0.6801 MB / 1.197 GB, free: 74.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/3.667, allocations: 160.4 kB / 1.197 GB, free: 74.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/3.668, allocations: 400.8 kB / 1.197 GB, free: 74.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/3.668, allocations: 31.7 kB / 1.198 GB, free: 74.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/3.668, allocations: 366.3 kB / 1.198 GB, free: 74.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/3.668, allocations: 129.1 kB / 1.198 GB, free: 73.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/3.668, allocations: 6.938 kB / 1.198 GB, free: 73.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/3.668, allocations: 333.2 kB / 1.198 GB, free: 73.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/3.669, allocations: 140.6 kB / 1.198 GB, free: 73.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/3.669, allocations: 370.3 kB / 1.199 GB, free: 73.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/3.67, allocations: 194.4 kB / 1.199 GB, free: 73.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/3.67, allocations: 3.562 kB / 1.199 GB, free: 73.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001596/3.671, allocations: 0.5639 MB / 1.2 GB, free: 73.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/3.671, allocations: 15.64 kB / 1.2 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/3.671, allocations: 6.594 kB / 1.2 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/3.674, allocations: 237 kB / 1.2 GB, free: 73.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/3.675, allocations: 134.5 kB / 1.2 GB, free: 73.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006282/3.675, allocations: 0.5913 MB / 1.2 GB, free: 72.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/3.676, allocations: 60.27 kB / 1.201 GB, free: 72.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/3.676, allocations: 58.3 kB / 1.201 GB, free: 72.78 MB / 442.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 () * Number of clocked 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.0004661/3.677, allocations: 199.8 kB / 1.201 GB, free: 72.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/3.677, allocations: 57.16 kB / 1.201 GB, free: 72.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/3.68, allocations: 0.6803 MB / 1.202 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/3.68, allocations: 8.328 kB / 1.202 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/3.68, allocations: 0 / 1.202 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/3.68, allocations: 3.844 kB / 1.202 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/3.683, allocations: 1.513 MB / 1.203 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/3.683, allocations: 3.219 kB / 1.203 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/3.684, allocations: 79.34 kB / 1.203 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/3.686, allocations: 226.3 kB / 1.203 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/3.686, allocations: 20.14 kB / 1.203 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005067/3.686, allocations: 0.5823 MB / 1.204 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/3.686, allocations: 4 kB / 1.204 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/3.688, allocations: 0.7055 MB / 1.205 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/3.688, allocations: 196.1 kB / 1.205 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/3.688, allocations: 9.906 kB / 1.205 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/3.689, allocations: 28.25 kB / 1.205 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/3.689, allocations: 37.66 kB / 1.205 GB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/3.689, allocations: 32.53 kB / 1.205 GB, free: 70.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005085/3.69, allocations: 318.2 kB / 1.205 GB, free: 70.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/3.69, allocations: 0 / 1.205 GB, free: 70.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002144/3.692, allocations: 446.5 kB / 1.206 GB, free: 70.66 MB / 442.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 () * Number of clocked 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.004679/3.697, allocations: 3.111 MB / 1.209 GB, free: 68.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/3.698, allocations: 418.6 kB / 1.209 GB, free: 68.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/3.698, allocations: 0 / 1.209 GB, free: 68.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/3.699, allocations: 191.5 kB / 1.209 GB, free: 68.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/3.701, allocations: 287.6 kB / 1.209 GB, free: 68.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/3.717, allocations: 8.818 MB / 1.218 GB, free: 63.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/3.717, allocations: 0.8759 MB / 1.219 GB, free: 62.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/3.718, allocations: 247.4 kB / 1.219 GB, free: 62.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/3.718, allocations: 0 / 1.219 GB, free: 62.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.182/6.9, allocations: 21.02 MB / 1.24 GB, free: 61.25 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat