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/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.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.503/2.503, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.345e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3648, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.935/2.3, allocations: 0.6141 GB / 0.9638 GB, free: 61.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/2.3, allocations: 92 kB / 0.9639 GB, free: 61.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.801/4.101, allocations: 278.6 MB / 1.236 GB, free: 87.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/4.101, allocations: 0 / 1.236 GB, free: 87.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.232e-05/4.101, allocations: 17.7 kB / 1.236 GB, free: 87.44 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.00431/4.105, allocations: 1.24 MB / 1.237 GB, free: 87.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/4.105, allocations: 11.19 kB / 1.237 GB, free: 87.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/4.107, allocations: 153.7 kB / 1.237 GB, free: 87.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/4.108, allocations: 0.515 MB / 1.238 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/4.108, allocations: 15.5 kB / 1.238 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/4.108, allocations: 25.78 kB / 1.238 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/4.109, allocations: 427 kB / 1.238 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/4.111, allocations: 0.545 MB / 1.239 GB, free: 86.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/4.111, allocations: 0 / 1.239 GB, free: 86.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/4.111, allocations: 3.938 kB / 1.239 GB, free: 86.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/4.111, allocations: 11.22 kB / 1.239 GB, free: 86.64 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.003855/4.115, allocations: 2.544 MB / 1.241 GB, free: 85.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/4.115, allocations: 218 kB / 1.242 GB, free: 84.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/4.115, allocations: 128.5 kB / 1.242 GB, free: 84.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/4.116, allocations: 328.6 kB / 1.242 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/4.116, allocations: 37.06 kB / 1.242 GB, free: 84.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 4.499e-06/4.116, allocations: 3.656 kB / 1.242 GB, free: 84.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.004001/4.12, allocations: 0.764 MB / 1.243 GB, free: 84.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/4.12, allocations: 163.4 kB / 1.243 GB, free: 84.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/4.121, allocations: 388.3 kB / 1.243 GB, free: 84.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/4.121, allocations: 27.02 kB / 1.243 GB, free: 84.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/4.121, allocations: 375.8 kB / 1.244 GB, free: 84.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/4.121, allocations: 102.8 kB / 1.244 GB, free: 83.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/4.121, allocations: 0 / 1.244 GB, free: 83.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/4.121, allocations: 332.2 kB / 1.244 GB, free: 83.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/4.121, allocations: 128.8 kB / 1.244 GB, free: 83.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/4.122, allocations: 337.5 kB / 1.245 GB, free: 83.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/4.125, allocations: 0.6126 MB / 1.245 GB, free: 83.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/4.125, allocations: 3.969 kB / 1.245 GB, free: 83.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004284/4.13, allocations: 0.9333 MB / 1.246 GB, free: 83.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/4.13, allocations: 5.688 kB / 1.246 GB, free: 83.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/4.13, allocations: 8.406 kB / 1.246 GB, free: 83.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/4.13, allocations: 53.69 kB / 1.246 GB, free: 83.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/4.131, allocations: 137.4 kB / 1.246 GB, free: 83.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007529/4.132, allocations: 0.607 MB / 1.247 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/4.132, allocations: 61.31 kB / 1.247 GB, free: 82.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/4.132, allocations: 56.73 kB / 1.247 GB, free: 82.79 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.0001729/4.133, allocations: 126.7 kB / 1.247 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003843/4.136, allocations: 0.7709 MB / 1.248 GB, free: 82.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/4.137, allocations: 48.25 kB / 1.248 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/4.139, allocations: 0.6129 MB / 1.249 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/4.139, allocations: 5.641 kB / 1.249 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/4.139, allocations: 3 kB / 1.249 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/4.139, allocations: 0 / 1.249 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/4.142, allocations: 1.09 MB / 1.25 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/4.142, allocations: 3.375 kB / 1.25 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/4.142, allocations: 50.66 kB / 1.25 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/4.143, allocations: 48.03 kB / 1.25 GB, free: 81.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/4.143, allocations: 12.08 kB / 1.25 GB, free: 81.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005798/4.143, allocations: 0.5959 MB / 1.25 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/4.143, allocations: 7.25 kB / 1.25 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/4.145, allocations: 0.6327 MB / 1.251 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/4.145, allocations: 153 kB / 1.251 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/4.145, allocations: 6.953 kB / 1.251 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/4.146, allocations: 18.31 kB / 1.251 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/4.146, allocations: 18.47 kB / 1.251 GB, free: 80.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/4.146, allocations: 22.36 kB / 1.251 GB, free: 80.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004979/4.146, allocations: 314.3 kB / 1.251 GB, free: 80.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.713e-06/4.147, allocations: 0 / 1.251 GB, free: 80.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00229/4.149, allocations: 474.1 kB / 1.252 GB, free: 80.77 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.0056/4.154, allocations: 3.119 MB / 1.255 GB, free: 79.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/4.156, allocations: 327.1 kB / 1.255 GB, free: 79.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/4.156, allocations: 3.875 kB / 1.255 GB, free: 79.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/4.156, allocations: 119.8 kB / 1.255 GB, free: 79.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/4.158, allocations: 255.4 kB / 1.256 GB, free: 79.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/4.17, allocations: 2.648 MB / 1.258 GB, free: 78.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/4.17, allocations: 0.8715 MB / 1.259 GB, free: 78.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/4.171, allocations: 241.8 kB / 1.259 GB, free: 78.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/4.171, allocations: 0 / 1.259 GB, free: 78.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.192/7.364, allocations: 22.22 MB / 1.281 GB, free: 77.13 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