Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.01411/0.01411, allocations: 104.2 kB / 15.05 MB, free: 5.555 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.001183, allocations: 167.9 kB / 15.93 MB, free: 5.527 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.792/1.792, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2919/0.2919, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006904/0.0006907, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09613, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5525/0.6487, allocations: 145.6 MB / 0.5057 GB, free: 6.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.6677, allocations: 9.148 MB / 0.5147 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008805/0.6687, allocations: 23.81 kB / 0.5147 GB, free: 12.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.6699, allocations: 266.7 kB / 0.515 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007805/0.6777, allocations: 1.828 MB / 0.5167 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.6814, allocations: 0.7913 MB / 0.5175 GB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.6841, allocations: 1.012 MB / 0.5185 GB, free: 9.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008782/0.685, allocations: 375.3 kB / 0.5189 GB, free: 8.637 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.6872, allocations: 0.6739 MB / 0.5195 GB, free: 7.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.688, allocations: 370.7 kB / 0.5199 GB, free: 7.598 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.6882, allocations: 28 kB / 0.5199 GB, free: 7.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.6923, allocations: 1.24 MB / 0.5211 GB, free: 6.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.6927, allocations: 131.5 kB / 0.5212 GB, free: 6.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.693, allocations: 161.4 kB / 0.5214 GB, free: 6.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.696, allocations: 1.139 MB / 0.5225 GB, free: 4.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6961, allocations: 0 / 0.5225 GB, free: 4.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6961, allocations: 0 / 0.5225 GB, free: 4.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.6961, allocations: 0 / 0.5225 GB, free: 4.895 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002711/0.6988, allocations: 0.9818 MB / 0.5235 GB, free: 3.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6989, allocations: 11.97 kB / 0.5235 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.6991, allocations: 86.47 kB / 0.5236 GB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.7007, allocations: 155.1 kB / 0.5237 GB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.7019, allocations: 488.6 kB / 0.5242 GB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.702, allocations: 33 kB / 0.5242 GB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.7021, allocations: 47.94 kB / 0.5242 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.7039, allocations: 0.6322 MB / 0.5249 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.7039, allocations: 0 / 0.5249 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.704, allocations: 24 kB / 0.5249 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.7041, allocations: 12 kB / 0.5249 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.7056, allocations: 495.5 kB / 0.5254 GB, free: 1.805 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.004497/0.7101, allocations: 2.594 MB / 0.5279 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.7112, allocations: 310.6 kB / 0.5282 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.7118, allocations: 333.4 kB / 0.5285 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.7118, allocations: 42.55 kB / 0.5286 GB, free: 14.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.617e-06/0.7118, allocations: 0 / 0.5286 GB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002576/0.7144, allocations: 0.6757 MB / 0.5292 GB, free: 13.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.7146, allocations: 162.2 kB / 0.5294 GB, free: 13.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/0.7154, allocations: 453.9 kB / 0.5298 GB, free: 12.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.7155, allocations: 29.7 kB / 0.5298 GB, free: 12.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.7159, allocations: 323.2 kB / 0.5301 GB, free: 12.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.7161, allocations: 130.2 kB / 0.5303 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.7161, allocations: 8 kB / 0.5303 GB, free: 12.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.7164, allocations: 358.8 kB / 0.5306 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.7168, allocations: 145 kB / 0.5308 GB, free: 11.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/0.7175, allocations: 370.6 kB / 0.5311 GB, free: 11.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.7182, allocations: 208 kB / 0.5313 GB, free: 11.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.7182, allocations: 3.953 kB / 0.5313 GB, free: 11.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001811/0.72, allocations: 0.6031 MB / 0.5319 GB, free: 10.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.7201, allocations: 11.94 kB / 0.5319 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.7201, allocations: 9.688 kB / 0.5319 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.7229, allocations: 284.7 kB / 0.5322 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.7237, allocations: 139.8 kB / 0.5323 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006936/0.7244, allocations: 0.5836 MB / 0.5329 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.7252, allocations: 59.44 kB / 0.533 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.7254, allocations: 68 kB / 0.533 GB, free: 9.473 MB / 394.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 () * Number of clocked 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.0004256/0.7258, allocations: 194.7 kB / 0.5332 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.726, allocations: 59.33 kB / 0.5333 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.7289, allocations: 0.7204 MB / 0.534 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.7289, allocations: 4 kB / 0.534 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.7289, allocations: 8 kB / 0.534 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.7289, allocations: 3.953 kB / 0.534 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.7324, allocations: 1.539 MB / 0.5355 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.7325, allocations: 4 kB / 0.5355 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.733, allocations: 71.89 kB / 0.5356 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006227/0.7392, allocations: 0.5357 MB / 0.5361 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.7394, allocations: 27.92 kB / 0.5361 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006607/0.7401, allocations: 0.5953 MB / 0.5367 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.7401, allocations: 4 kB / 0.5367 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.7417, allocations: 0.7247 MB / 0.5374 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.7421, allocations: 184.2 kB / 0.5376 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7422, allocations: 8 kB / 0.5376 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.7427, allocations: 27.92 kB / 0.5376 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.7429, allocations: 43.91 kB / 0.5376 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/0.743, allocations: 31.98 kB / 0.5377 GB, free: 4.371 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005839/0.7436, allocations: 314.9 kB / 0.538 GB, free: 4.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7436, allocations: 0 / 0.538 GB, free: 4.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001526/0.7451, allocations: 343.6 kB / 0.5383 GB, free: 3.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (37): * Single equations (assignments): 36 * 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.003755/0.7489, allocations: 2.314 MB / 0.5406 GB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.7504, allocations: 424.6 kB / 0.541 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7504, allocations: 0 / 0.541 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.751, allocations: 209.2 kB / 0.5412 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.7536, allocations: 280.8 kB / 0.5414 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009165/0.7628, allocations: 7.311 MB / 0.5486 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.7634, allocations: 0.8831 MB / 0.5494 GB, free: 8.012 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001481/0.7649, allocations: 196.6 kB / 0.5496 GB, free: 7.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/0.7657, allocations: 239.3 kB / 0.5499 GB, free: 7.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7657, allocations: 0 / 0.5499 GB, free: 7.582 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/0.875, allocations: 19.8 MB / 0.5692 GB, free: 3.898 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003978/0.8755, allocations: 270.8 kB / 0.5694 GB, free: 3.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/4.146, allocations: 0 / 0.5694 GB, free: 3.539 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat