Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01092/0.01092, allocations: 104.5 kB / 15.05 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001184/0.001184, allocations: 172 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.584/1.584, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2487/0.2487, allocations: 38.08 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006384, allocations: 15.98 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09026, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5401/0.6304, allocations: 146.8 MB / 0.507 GB, free: 4.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.6435, allocations: 6.645 MB / 0.5134 GB, free: 14.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005503/0.6441, allocations: 23.81 kB / 0.5135 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.6451, allocations: 258.7 kB / 0.5137 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.6497, allocations: 1.266 MB / 0.5149 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.6521, allocations: 0.6082 MB / 0.5155 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.654, allocations: 0.9067 MB / 0.5164 GB, free: 11.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006761/0.6547, allocations: 359.9 kB / 0.5168 GB, free: 10.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.656, allocations: 0.4946 MB / 0.5173 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.6566, allocations: 326.7 kB / 0.5176 GB, free: 9.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.6567, allocations: 28 kB / 0.5176 GB, free: 9.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.6601, allocations: 1.17 MB / 0.5187 GB, free: 8.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.6604, allocations: 131.5 kB / 0.5189 GB, free: 8.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.6606, allocations: 145.4 kB / 0.519 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.6629, allocations: 1.069 MB / 0.52 GB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.6629, allocations: 0 / 0.52 GB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6629, allocations: 0 / 0.52 GB, free: 7.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.6629, allocations: 0 / 0.52 GB, free: 7.383 MB / 378.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.002493/0.6654, allocations: 0.939 MB / 0.521 GB, free: 6.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6655, allocations: 12.03 kB / 0.521 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.6656, allocations: 86.52 kB / 0.5211 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.6669, allocations: 135.1 kB / 0.5212 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.6679, allocations: 480.6 kB / 0.5216 GB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.668, allocations: 29 kB / 0.5217 GB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.6681, allocations: 44 kB / 0.5217 GB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6696, allocations: 0.5906 MB / 0.5223 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.6697, allocations: 0 / 0.5223 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.6698, allocations: 24 kB / 0.5223 GB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.6698, allocations: 15.95 kB / 0.5223 GB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6714, allocations: 487.5 kB / 0.5228 GB, free: 4.43 MB / 378.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.004071/0.6754, allocations: 2.62 MB / 0.5253 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.6765, allocations: 335.5 kB / 0.5257 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.677, allocations: 334.1 kB / 0.526 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.6771, allocations: 46.83 kB / 0.526 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.6771, allocations: 0 / 0.526 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002472/0.6796, allocations: 0.709 MB / 0.5267 GB, free: 84 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6797, allocations: 140.5 kB / 0.5269 GB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/0.6804, allocations: 429.8 kB / 0.5273 GB, free: 15.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.6805, allocations: 29.7 kB / 0.5273 GB, free: 15.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.6808, allocations: 307.5 kB / 0.5276 GB, free: 15.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.681, allocations: 118.3 kB / 0.5277 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.681, allocations: 8 kB / 0.5277 GB, free: 15.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.6812, allocations: 354.8 kB / 0.528 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.6817, allocations: 152.8 kB / 0.5282 GB, free: 14.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.6824, allocations: 329.6 kB / 0.5285 GB, free: 14.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.683, allocations: 204 kB / 0.5287 GB, free: 13.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6831, allocations: 4 kB / 0.5287 GB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001669/0.6848, allocations: 0.5715 MB / 0.5293 GB, free: 13.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6848, allocations: 8.781 kB / 0.5293 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.6848, allocations: 7.984 kB / 0.5293 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/0.6876, allocations: 297.2 kB / 0.5296 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.6883, allocations: 115.8 kB / 0.5297 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006034/0.6889, allocations: 0.5952 MB / 0.5303 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.6894, allocations: 67.59 kB / 0.5303 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.6896, allocations: 51.98 kB / 0.5304 GB, free: 12.17 MB / 394.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0003325/0.6899, allocations: 186.7 kB / 0.5305 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6901, allocations: 51.44 kB / 0.5306 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.6927, allocations: 0.7411 MB / 0.5313 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.6928, allocations: 4 kB / 0.5313 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6928, allocations: 7.938 kB / 0.5313 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6928, allocations: 3.953 kB / 0.5313 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.6955, allocations: 1.225 MB / 0.5325 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6956, allocations: 0 / 0.5325 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.696, allocations: 63.91 kB / 0.5326 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006101/0.7021, allocations: 0.5395 MB / 0.5331 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.7022, allocations: 12 kB / 0.5331 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006089/0.7028, allocations: 0.6069 MB / 0.5337 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7028, allocations: 4.031 kB / 0.5337 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.7042, allocations: 0.6463 MB / 0.5344 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.7044, allocations: 136.5 kB / 0.5345 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.7046, allocations: 12 kB / 0.5345 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.7051, allocations: 35.91 kB / 0.5345 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.7052, allocations: 35.92 kB / 0.5346 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.7053, allocations: 24.05 kB / 0.5346 GB, free: 7.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005745/0.7058, allocations: 330.9 kB / 0.5349 GB, free: 7.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7059, allocations: 0 / 0.5349 GB, free: 7.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001278/0.7071, allocations: 319.6 kB / 0.5352 GB, free: 6.949 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 29 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003155/0.7103, allocations: 2.013 MB / 0.5372 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.7117, allocations: 408.7 kB / 0.5376 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7117, allocations: 0 / 0.5376 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.7124, allocations: 179.8 kB / 0.5377 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.7144, allocations: 241 kB / 0.538 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008387/0.7228, allocations: 6.157 MB / 0.544 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.7234, allocations: 0.8788 MB / 0.5448 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001387/0.7248, allocations: 192.5 kB / 0.545 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006136/0.7254, allocations: 223.3 kB / 0.5452 GB, free: 12.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7255, allocations: 0 / 0.5452 GB, free: 12.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06089/0.7864, allocations: 18.5 MB / 0.5633 GB, free: 10.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/0.7867, allocations: 287.7 kB / 0.5636 GB, free: 9.676 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/3.882, allocations: 8.062 kB / 0.5636 GB, free: 9.668 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat