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.Bend.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.Bend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.653/2.654, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.114e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4632, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.903/2.366, allocations: 0.6147 GB / 0.9708 GB, free: 114.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/2.366, allocations: 90.58 kB / 0.9709 GB, free: 114.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342/3.708, allocations: 281.7 MB / 1.246 GB, free: 35.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/3.709, allocations: 0 / 1.246 GB, free: 35.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.57e-05/3.709, allocations: 16 kB / 1.246 GB, free: 35.38 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.003914/3.713, allocations: 1.236 MB / 1.247 GB, free: 34.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/3.713, allocations: 8.031 kB / 1.247 GB, free: 34.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/3.713, allocations: 82.53 kB / 1.247 GB, free: 34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/3.714, allocations: 155.1 kB / 1.248 GB, free: 33.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/3.716, allocations: 0.5156 MB / 1.248 GB, free: 33.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/3.716, allocations: 37 kB / 1.248 GB, free: 33.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/3.716, allocations: 43.98 kB / 1.248 GB, free: 33.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/3.718, allocations: 0.6229 MB / 1.249 GB, free: 32.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/3.718, allocations: 4 kB / 1.249 GB, free: 32.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/3.718, allocations: 24 kB / 1.249 GB, free: 32.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/3.718, allocations: 12 kB / 1.249 GB, free: 32.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/3.719, allocations: 483.7 kB / 1.249 GB, free: 32.02 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.003731/3.723, allocations: 2.567 MB / 1.252 GB, free: 29.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008388/3.723, allocations: 282.9 kB / 1.252 GB, free: 28.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/3.724, allocations: 161.4 kB / 1.252 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/3.724, allocations: 325.6 kB / 1.252 GB, free: 28.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/3.724, allocations: 38.41 kB / 1.252 GB, free: 28.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.457e-06/3.724, allocations: 0 / 1.252 GB, free: 28.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001475/3.726, allocations: 441.5 kB / 1.253 GB, free: 27.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/3.726, allocations: 158.2 kB / 1.253 GB, free: 27.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/3.727, allocations: 391 kB / 1.253 GB, free: 27.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/3.727, allocations: 33.7 kB / 1.253 GB, free: 27.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/3.727, allocations: 361.7 kB / 1.254 GB, free: 26.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/3.727, allocations: 126.2 kB / 1.254 GB, free: 26.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/3.727, allocations: 12 kB / 1.254 GB, free: 26.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/3.727, allocations: 330.8 kB / 1.254 GB, free: 26.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/3.727, allocations: 133.1 kB / 1.254 GB, free: 26.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/3.728, allocations: 358.7 kB / 1.255 GB, free: 25.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/3.728, allocations: 192 kB / 1.255 GB, free: 25.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/3.728, allocations: 0 / 1.255 GB, free: 25.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00134/3.73, allocations: 0.5566 MB / 1.255 GB, free: 25.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/3.73, allocations: 13.23 kB / 1.255 GB, free: 25.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/3.73, allocations: 8 kB / 1.255 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/3.732, allocations: 236.7 kB / 1.256 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/3.733, allocations: 131.8 kB / 1.256 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004961/3.733, allocations: 0.5875 MB / 1.256 GB, free: 24.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/3.734, allocations: 75.47 kB / 1.256 GB, free: 24.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/3.734, allocations: 59.92 kB / 1.257 GB, free: 24.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.0001693/3.734, allocations: 136.8 kB / 1.257 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/3.734, allocations: 55.39 kB / 1.257 GB, free: 23.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/3.737, allocations: 0.6547 MB / 1.257 GB, free: 23.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/3.737, allocations: 4 kB / 1.257 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/3.737, allocations: 0 / 1.257 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/3.737, allocations: 3.984 kB / 1.257 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/3.739, allocations: 1.485 MB / 1.259 GB, free: 21.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/3.74, allocations: 3.953 kB / 1.259 GB, free: 21.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/3.74, allocations: 75.89 kB / 1.259 GB, free: 21.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/3.742, allocations: 236.7 kB / 1.259 GB, free: 21.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/3.742, allocations: 15.98 kB / 1.259 GB, free: 21.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004418/3.743, allocations: 0.5797 MB / 1.26 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/3.743, allocations: 4 kB / 1.26 GB, free: 20.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/3.744, allocations: 0.6771 MB / 1.26 GB, free: 19.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/3.744, allocations: 140.3 kB / 1.26 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/3.744, allocations: 16 kB / 1.26 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/3.745, allocations: 23.89 kB / 1.261 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/3.745, allocations: 43.89 kB / 1.261 GB, free: 19.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/3.745, allocations: 27.98 kB / 1.261 GB, free: 19.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004686/3.745, allocations: 309.6 kB / 1.261 GB, free: 19.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.745, allocations: 0 / 1.261 GB, free: 19.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002127/3.747, allocations: 0.4915 MB / 1.261 GB, free: 18.75 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.004713/3.752, allocations: 3.18 MB / 1.264 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/3.754, allocations: 393.7 kB / 1.265 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/3.754, allocations: 4 kB / 1.265 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/3.754, allocations: 187.7 kB / 1.265 GB, free: 14.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/3.757, allocations: 281.7 kB / 1.265 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/3.767, allocations: 2.369 MB / 1.268 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/3.767, allocations: 0.8791 MB / 1.268 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007261/3.768, allocations: 239.3 kB / 1.269 GB, free: 11.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/3.768, allocations: 0 / 1.269 GB, free: 11.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.71/7.478, allocations: 22.1 MB / 1.29 GB, free: 77.62 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.Bend_res.mat does not exist to compare? outputFormat=mat