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.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.323e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3471, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.83/2.177, allocations: 0.6075 GB / 0.9572 GB, free: 67.51 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/2.178, allocations: 93.83 kB / 0.9573 GB, free: 67.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148/3.326, allocations: 228 MB / 1.18 GB, free: 45.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/3.326, allocations: 0 / 1.18 GB, free: 45.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.738e-05/3.326, allocations: 23.92 kB / 1.18 GB, free: 45.86 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.002334/3.328, allocations: 0.9164 MB / 1.181 GB, free: 44.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/3.328, allocations: 12.03 kB / 1.181 GB, free: 44.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/3.33, allocations: 135.1 kB / 1.181 GB, free: 44.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/3.331, allocations: 0.5468 MB / 1.182 GB, free: 44.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/3.331, allocations: 12 kB / 1.182 GB, free: 44.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/3.331, allocations: 24 kB / 1.182 GB, free: 44.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008887/3.332, allocations: 398.4 kB / 1.182 GB, free: 43.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/3.333, allocations: 495.6 kB / 1.182 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/3.333, allocations: 0 / 1.182 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/3.333, allocations: 0 / 1.182 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/3.333, allocations: 12 kB / 1.183 GB, free: 43.2 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.003371/3.337, allocations: 2.581 MB / 1.185 GB, free: 40.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/3.337, allocations: 226.8 kB / 1.185 GB, free: 40.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/3.337, allocations: 132.8 kB / 1.185 GB, free: 40.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/3.338, allocations: 325.6 kB / 1.186 GB, free: 39.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/3.338, allocations: 38.5 kB / 1.186 GB, free: 39.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.865e-06/3.338, allocations: 0 / 1.186 GB, free: 39.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.00385/3.342, allocations: 0.7712 MB / 1.186 GB, free: 38.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/3.342, allocations: 136.5 kB / 1.187 GB, free: 38.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/3.342, allocations: 373.1 kB / 1.187 GB, free: 38.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/3.342, allocations: 33.64 kB / 1.187 GB, free: 38.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/3.343, allocations: 353.8 kB / 1.187 GB, free: 37.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.295e-05/3.343, allocations: 102.5 kB / 1.187 GB, free: 37.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/3.343, allocations: 0 / 1.187 GB, free: 37.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/3.343, allocations: 330.8 kB / 1.188 GB, free: 37.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/3.343, allocations: 157.1 kB / 1.188 GB, free: 37.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/3.344, allocations: 326.2 kB / 1.188 GB, free: 36.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/3.347, allocations: 0.6378 MB / 1.189 GB, free: 36.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/3.347, allocations: 4 kB / 1.189 GB, free: 36.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004282/3.351, allocations: 0.9862 MB / 1.19 GB, free: 35.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/3.351, allocations: 8 kB / 1.19 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/3.351, allocations: 4 kB / 1.19 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/3.352, allocations: 61.52 kB / 1.19 GB, free: 35.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/3.353, allocations: 155.8 kB / 1.19 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/3.361, allocations: 28.21 MB / 1.218 GB, free: 5.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/3.362, allocations: 63.62 kB / 1.218 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/3.362, allocations: 51.98 kB / 1.218 GB, free: 4.984 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" 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 (63): * 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): 10 * 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: 10 {1,1,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.0003097/3.362, allocations: 166.7 kB / 1.218 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003738/3.366, allocations: 0.7668 MB / 1.219 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/3.366, allocations: 51.38 kB / 1.219 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/3.368, allocations: 0.6186 MB / 1.219 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/3.368, allocations: 4 kB / 1.219 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/3.368, allocations: 4 kB / 1.219 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/3.368, allocations: 7.875 kB / 1.219 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/3.371, allocations: 1.087 MB / 1.22 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/3.371, allocations: 0 / 1.22 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/3.371, allocations: 55.91 kB / 1.22 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/3.372, allocations: 40.84 kB / 1.22 GB, free: 2.051 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/3.372, allocations: 7.984 kB / 1.22 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005762/3.372, allocations: 0.6031 MB / 1.221 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/3.372, allocations: 16.02 kB / 1.221 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/3.374, allocations: 0.5991 MB / 1.222 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/3.374, allocations: 148.4 kB / 1.222 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/3.374, allocations: 8 kB / 1.222 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004989/3.375, allocations: 27.92 kB / 1.222 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/3.375, allocations: 27.84 kB / 1.222 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/3.375, allocations: 16 kB / 1.222 GB, free: 484 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004503/3.375, allocations: 314.9 kB / 1.222 GB, free: 172 kB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.375, allocations: 0 / 1.222 GB, free: 172 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.3533/3.729, allocations: 377.2 kB / 1.222 GB, free: 103.3 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.006044/3.735, allocations: 2.851 MB / 1.225 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/3.736, allocations: 355.4 kB / 1.226 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/3.736, allocations: 0 / 1.226 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/3.737, allocations: 125.8 kB / 1.226 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/3.739, allocations: 206.9 kB / 1.226 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/3.75, allocations: 2.461 MB / 1.228 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/3.751, allocations: 0.8707 MB / 1.229 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/3.751, allocations: 229.5 kB / 1.229 GB, free: 101 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/3.751, allocations: 0 / 1.229 GB, free: 101 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.515/7.266, allocations: 30.23 MB / 1.259 GB, free: 100.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat