Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.272e-05, allocations: 3.938 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.355, allocations: 54.84 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.805/2.16, allocations: 0.613 GB / 0.9627 GB, free: 62.13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/2.161, allocations: 101 kB / 0.9628 GB, free: 62.07 MB / 490.7 MB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Notification: Performance of FrontEnd - DAE generated: time 1.159/3.319, allocations: 239.9 MB / 1.197 GB, free: 28.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/3.319, allocations: 8 kB / 1.197 GB, free: 28.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.944e-05/3.319, allocations: 11.98 kB / 1.197 GB, free: 28.62 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002851/3.322, allocations: 0.965 MB / 1.198 GB, free: 27.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/3.322, allocations: 8.031 kB / 1.198 GB, free: 27.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/3.324, allocations: 139.2 kB / 1.198 GB, free: 27.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/3.325, allocations: 0.5199 MB / 1.199 GB, free: 26.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/3.325, allocations: 19.95 kB / 1.199 GB, free: 26.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.298e-05/3.325, allocations: 27.94 kB / 1.199 GB, free: 26.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009139/3.326, allocations: 394.5 kB / 1.199 GB, free: 26.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/3.327, allocations: 491.7 kB / 1.2 GB, free: 25.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/3.327, allocations: 3.984 kB / 1.2 GB, free: 25.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/3.327, allocations: 4 kB / 1.2 GB, free: 25.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/3.327, allocations: 12 kB / 1.2 GB, free: 25.93 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.003506/3.331, allocations: 2.561 MB / 1.202 GB, free: 23.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/3.331, allocations: 238.7 kB / 1.202 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/3.332, allocations: 124.8 kB / 1.202 GB, free: 22.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004115/3.332, allocations: 325.5 kB / 1.203 GB, free: 22.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/3.332, allocations: 39.06 kB / 1.203 GB, free: 22.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.885e-06/3.332, allocations: 4 kB / 1.203 GB, free: 22.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.003766/3.336, allocations: 0.763 MB / 1.204 GB, free: 21.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/3.336, allocations: 132.5 kB / 1.204 GB, free: 21.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/3.337, allocations: 388.9 kB / 1.204 GB, free: 21.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/3.337, allocations: 25.7 kB / 1.204 GB, free: 21.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/3.337, allocations: 341.8 kB / 1.204 GB, free: 20.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/3.337, allocations: 102.5 kB / 1.204 GB, free: 20.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/3.337, allocations: 0 / 1.204 GB, free: 20.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/3.337, allocations: 338.8 kB / 1.205 GB, free: 20.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/3.337, allocations: 161.1 kB / 1.205 GB, free: 20.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/3.338, allocations: 333.9 kB / 1.205 GB, free: 19.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/3.341, allocations: 0.6437 MB / 1.206 GB, free: 19.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/3.341, allocations: 4 kB / 1.206 GB, free: 19.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004329/3.346, allocations: 0.9859 MB / 1.207 GB, free: 18.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/3.346, allocations: 11.95 kB / 1.207 GB, free: 18.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/3.346, allocations: 4 kB / 1.207 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/3.346, allocations: 52.77 kB / 1.207 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/3.347, allocations: 147.9 kB / 1.207 GB, free: 17.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3517/3.699, allocations: 22.7 MB / 1.229 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/3.7, allocations: 63.92 kB / 1.229 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/3.7, allocations: 51.59 kB / 1.229 GB, free: 95.05 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.K:VARIABLE(unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.K:VARIABLE(unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0003311/3.7, allocations: 146.8 kB / 1.23 GB, free: 94.95 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004285/3.705, allocations: 0.7715 MB / 1.23 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/3.705, allocations: 46.19 kB / 1.23 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/3.707, allocations: 0.6142 MB / 1.231 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/3.707, allocations: 6.688 kB / 1.231 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/3.707, allocations: 0.5156 kB / 1.231 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/3.707, allocations: 2.141 kB / 1.231 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/3.71, allocations: 1.068 MB / 1.232 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/3.71, allocations: 2.062 kB / 1.232 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/3.711, allocations: 55.06 kB / 1.232 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/3.711, allocations: 44.5 kB / 1.232 GB, free: 94.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/3.711, allocations: 5.984 kB / 1.232 GB, free: 94.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/3.712, allocations: 0.6206 MB / 1.233 GB, free: 93.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/3.712, allocations: 1.031 kB / 1.233 GB, free: 93.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/3.713, allocations: 0.6135 MB / 1.233 GB, free: 93.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/3.714, allocations: 148.2 kB / 1.233 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/3.714, allocations: 4.484 kB / 1.233 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/3.714, allocations: 24.5 kB / 1.233 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/3.714, allocations: 22.66 kB / 1.233 GB, free: 93.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/3.714, allocations: 15.81 kB / 1.233 GB, free: 93.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005299/3.715, allocations: 313.8 kB / 1.234 GB, free: 93.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.715, allocations: 0 / 1.234 GB, free: 93.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002572/3.718, allocations: 445.5 kB / 1.234 GB, free: 93.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.005326/3.723, allocations: 2.918 MB / 1.237 GB, free: 91.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/3.724, allocations: 357.2 kB / 1.237 GB, free: 91.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/3.724, allocations: 0 / 1.237 GB, free: 91.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/3.724, allocations: 123.5 kB / 1.238 GB, free: 91.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/3.726, allocations: 224.6 kB / 1.238 GB, free: 91.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/3.737, allocations: 2.49 MB / 1.24 GB, free: 91.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/3.738, allocations: 0.8686 MB / 1.241 GB, free: 90.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/3.738, allocations: 229 kB / 1.241 GB, free: 90.77 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/3.738, allocations: 0 / 1.241 GB, free: 90.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.268/7.007, allocations: 29.06 MB / 1.27 GB, free: 89.87 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat