Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01655/0.01656, allocations: 105.3 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00208/0.002079, allocations: 181.8 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.997/1.997, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2637/0.2637, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006342, allocations: 16 kB / 361.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1195, allocations: 54.87 MB / 416 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.3686/0.4882, allocations: 54.34 MB / 470.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0423/0.5305, allocations: 22.81 MB / 493.2 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.5321, allocations: 31.69 kB / 493.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.5344, allocations: 477.8 kB / 493.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01774/0.5522, allocations: 4.088 MB / 497.8 MB, free: 4.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01251/0.5647, allocations: 3.05 MB / 0.4891 GB, free: 1.336 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.568, allocations: 1.314 MB / 0.4904 GB, free: 24 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.5693, allocations: 0.5287 MB / 0.4909 GB, free: 15.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01878/0.5881, allocations: 6.479 MB / 0.4972 GB, free: 8.996 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.5895, allocations: 0.502 MB / 0.4977 GB, free: 8.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.5897, allocations: 40 kB / 0.4977 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/0.609, allocations: 6.739 MB / 0.5043 GB, free: 1.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.6093, allocations: 183.3 kB / 0.5045 GB, free: 1.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.6097, allocations: 209.3 kB / 0.5047 GB, free: 1.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008869/0.6186, allocations: 3.36 MB / 0.508 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6187, allocations: 0 / 0.508 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6187, allocations: 0 / 0.508 GB, free: 13.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.6187, allocations: 0 / 0.508 GB, free: 13.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005799/0.6246, allocations: 1.626 MB / 0.5096 GB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.6246, allocations: 8.031 kB / 0.5096 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002858/0.6249, allocations: 123.3 kB / 0.5097 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/0.632, allocations: 0.6194 MB / 0.5103 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.6337, allocations: 0.6133 MB / 0.5109 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.6338, allocations: 62 kB / 0.5109 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.634, allocations: 72 kB / 0.511 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/0.6393, allocations: 1.367 MB / 0.5123 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.6394, allocations: 0 / 0.5123 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.6396, allocations: 40 kB / 0.5124 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.6396, allocations: 20.88 kB / 0.5124 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005486/0.6451, allocations: 1.239 MB / 0.5136 GB, free: 7.969 MB / 394.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.009539/0.6547, allocations: 5.495 MB / 0.519 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.6591, allocations: 0.8486 MB / 0.5198 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6563/1.315, allocations: 92.58 MB / 0.6102 GB, free: 157.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.316, allocations: 38.72 kB / 0.6103 GB, free: 157.2 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008086/1.316, allocations: 91.22 kB / 0.6103 GB, free: 157.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 3.286e-06/1.316, allocations: 1.125 kB / 0.6103 GB, free: 157.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.008225/1.325, allocations: 1.58 MB / 0.6119 GB, free: 157 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.325, allocations: 198 kB / 0.6121 GB, free: 156.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/1.326, allocations: 0.5405 MB / 0.6126 GB, free: 156.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.326, allocations: 35.98 kB / 0.6126 GB, free: 156.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.326, allocations: 436 kB / 0.6131 GB, free: 156.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/1.326, allocations: 193.3 kB / 0.6132 GB, free: 156 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/1.326, allocations: 15.06 kB / 0.6133 GB, free: 156 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/1.326, allocations: 381.7 kB / 0.6136 GB, free: 155.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/1.328, allocations: 228.3 kB / 0.6138 GB, free: 155.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.329, allocations: 0.5315 MB / 0.6144 GB, free: 155.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.33, allocations: 299.8 kB / 0.6146 GB, free: 155 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.33, allocations: 9.875 kB / 0.6147 GB, free: 155 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003114/1.333, allocations: 0.8834 MB / 0.6155 GB, free: 154.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000757/1.334, allocations: 3.844 MB / 0.6193 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/1.334, allocations: 9.312 kB / 0.6193 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007653/1.342, allocations: 433.8 kB / 0.6197 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.343, allocations: 206.1 kB / 0.6199 GB, free: 150.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009441/1.344, allocations: 1.133 MB / 0.621 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.345, allocations: 70.53 kB / 0.6211 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.345, allocations: 50.86 kB / 0.6211 GB, free: 149.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.345, allocations: 3.75 kB / 0.6211 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002716/1.348, allocations: 0.7426 MB / 0.6218 GB, free: 149 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.348, allocations: 9.906 kB / 0.6218 GB, free: 149 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.348, allocations: 15.69 kB / 0.6219 GB, free: 149 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.35, allocations: 223.5 kB / 0.6221 GB, free: 148.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/1.35, allocations: 20 kB / 0.6221 GB, free: 148.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/1.351, allocations: 62.55 kB / 0.6222 GB, free: 148.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.351, allocations: 47.7 kB / 0.6222 GB, free: 148.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005783/1.351, allocations: 320.7 kB / 0.6225 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/1.352, allocations: 75.14 kB / 0.6226 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/1.358, allocations: 3.559 MB / 0.6261 GB, free: 146.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/1.358, allocations: 46.33 kB / 0.6261 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.358, allocations: 2.094 kB / 0.6261 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.358, allocations: 3.984 kB / 0.6261 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/1.361, allocations: 1.707 MB / 0.6278 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.361, allocations: 6.172 kB / 0.6278 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009936/1.362, allocations: 126.5 kB / 0.6279 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/1.365, allocations: 0.7865 MB / 0.6287 GB, free: 145 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.365, allocations: 23.11 kB / 0.6287 GB, free: 145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/1.366, allocations: 1.539 MB / 0.6302 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.366, allocations: 0 / 0.6302 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/1.37, allocations: 2.052 MB / 0.6322 GB, free: 142.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/1.371, allocations: 410.9 kB / 0.6326 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.371, allocations: 15.78 kB / 0.6326 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008899/1.372, allocations: 46.88 kB / 0.6326 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/1.372, allocations: 69.83 kB / 0.6327 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/1.372, allocations: 26.27 kB / 0.6327 GB, free: 142 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009101/1.373, allocations: 0.5266 MB / 0.6333 GB, free: 141.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.373, allocations: 0 / 0.6333 GB, free: 141.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004395/1.378, allocations: 1.249 MB / 0.6345 GB, free: 140.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009845/1.387, allocations: 3.492 MB / 0.6379 GB, free: 137.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004359/1.392, allocations: 1.406 MB / 0.6393 GB, free: 135.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.392, allocations: 0 / 0.6393 GB, free: 135.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.394, allocations: 0.8202 MB / 0.6401 GB, free: 134.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.397, allocations: 362.8 kB / 0.6404 GB, free: 134.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.412, allocations: 13.36 MB / 0.6534 GB, free: 121.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/1.413, allocations: 1.287 MB / 0.6547 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002843/1.416, allocations: 1.129 MB / 0.6558 GB, free: 118.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009497/1.417, allocations: 0.55 MB / 0.6563 GB, free: 118.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/1.417, allocations: 0 / 0.6563 GB, free: 118.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/1.542, allocations: 57.23 MB / 0.7122 GB, free: 60.91 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/1.543, allocations: 258.4 kB / 0.7125 GB, free: 60.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.382/7.925, allocations: 0 / 0.7125 GB, free: 60.56 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat