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.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",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.01081/0.01081, allocations: 102.9 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.001155/0.001156, allocations: 167.6 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.582/1.582, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.2483/0.2483, allocations: 38.09 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004626, allocations: 20 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08857, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5516/0.6402, allocations: 146.6 MB / 0.5068 GB, free: 4.977 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009048/0.6493, allocations: 4.276 MB / 0.5109 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/0.6501, allocations: 19.81 kB / 0.511 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.6512, allocations: 234.8 kB / 0.5112 GB, free: 456 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.6558, allocations: 1.11 MB / 0.5123 GB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.6582, allocations: 0.5309 MB / 0.5128 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.6601, allocations: 0.8591 MB / 0.5136 GB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.6608, allocations: 342 kB / 0.514 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.662, allocations: 490.5 kB / 0.5144 GB, free: 13.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.6626, allocations: 310.8 kB / 0.5147 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.6627, allocations: 24 kB / 0.5147 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.6652, allocations: 0.7958 MB / 0.5155 GB, free: 12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.6654, allocations: 111.6 kB / 0.5156 GB, free: 11.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.6656, allocations: 145.4 kB / 0.5158 GB, free: 11.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.6673, allocations: 0.8936 MB / 0.5166 GB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.6673, allocations: 0 / 0.5166 GB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6673, allocations: 0 / 0.5166 GB, free: 10.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.6673, allocations: 4 kB / 0.5166 GB, free: 10.84 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002186/0.6695, allocations: 0.8806 MB / 0.5175 GB, free: 9.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6696, allocations: 8.031 kB / 0.5175 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.6697, allocations: 82.53 kB / 0.5176 GB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.6711, allocations: 143.1 kB / 0.5177 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009144/0.672, allocations: 444.8 kB / 0.5181 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.6721, allocations: 29 kB / 0.5182 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.6722, allocations: 40 kB / 0.5182 GB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6737, allocations: 0.5438 MB / 0.5187 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6737, allocations: 0 / 0.5187 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/0.6738, allocations: 20 kB / 0.5188 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.6739, allocations: 12 kB / 0.5188 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.6752, allocations: 419.5 kB / 0.5192 GB, free: 8.105 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.003801/0.679, allocations: 2.515 MB / 0.5216 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/0.68, allocations: 295.8 kB / 0.5219 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.6807, allocations: 333.2 kB / 0.5222 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6807, allocations: 38.5 kB / 0.5223 GB, free: 4.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.936e-06/0.6807, allocations: 0 / 0.5223 GB, free: 4.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.003095/0.6838, allocations: 0.6633 MB / 0.5229 GB, free: 3.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.6839, allocations: 136.5 kB / 0.523 GB, free: 3.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.6846, allocations: 385.9 kB / 0.5234 GB, free: 3.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/0.6846, allocations: 33.7 kB / 0.5234 GB, free: 3.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.6849, allocations: 291.4 kB / 0.5237 GB, free: 3.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.685, allocations: 98.62 kB / 0.5238 GB, free: 2.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.6851, allocations: 12 kB / 0.5238 GB, free: 2.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6853, allocations: 350.8 kB / 0.5242 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.6858, allocations: 144.8 kB / 0.5243 GB, free: 2.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.6864, allocations: 313.7 kB / 0.5246 GB, free: 2.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.6871, allocations: 189.1 kB / 0.5248 GB, free: 1.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6871, allocations: 0 / 0.5248 GB, free: 1.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001685/0.6888, allocations: 0.5573 MB / 0.5253 GB, free: 1.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6888, allocations: 8.938 kB / 0.5253 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.6889, allocations: 7.688 kB / 0.5253 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/0.6928, allocations: 328.6 kB / 0.5257 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.6936, allocations: 119.8 kB / 0.5258 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.6946, allocations: 0.5836 MB / 0.5263 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.6953, allocations: 75.39 kB / 0.5264 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.6954, allocations: 51.97 kB / 0.5265 GB, free: 156 kB / 378.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 (48): * Single equations (assignments): 47 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003605/0.6958, allocations: 190.7 kB / 0.5266 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.696, allocations: 47.44 kB / 0.5267 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/0.6987, allocations: 0.675 MB / 0.5273 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6987, allocations: 4 kB / 0.5274 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6988, allocations: 3.953 kB / 0.5274 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6988, allocations: 0 / 0.5274 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.7013, allocations: 1.128 MB / 0.5285 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7014, allocations: 4 kB / 0.5285 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.7018, allocations: 59.91 kB / 0.5285 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/0.705, allocations: 296.7 kB / 0.5288 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.705, allocations: 11.98 kB / 0.5288 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005596/0.7056, allocations: 0.5874 MB / 0.5294 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7056, allocations: 3.953 kB / 0.5294 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.707, allocations: 0.5761 MB / 0.53 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.7072, allocations: 140.4 kB / 0.5301 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.7073, allocations: 11.95 kB / 0.5301 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.7079, allocations: 35.97 kB / 0.5301 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.708, allocations: 23.97 kB / 0.5302 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.7081, allocations: 23.94 kB / 0.5302 GB, free: 12.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005196/0.7086, allocations: 303.1 kB / 0.5305 GB, free: 11.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7087, allocations: 4 kB / 0.5305 GB, free: 11.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001096/0.7098, allocations: 263.6 kB / 0.5307 GB, free: 11.53 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 (27): * Single equations (assignments): 26 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002827/0.7126, allocations: 1.872 MB / 0.5325 GB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.7144, allocations: 376.5 kB / 0.5329 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7144, allocations: 4 kB / 0.5329 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006523/0.7151, allocations: 164.6 kB / 0.5331 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.717, allocations: 228.1 kB / 0.5333 GB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.7243, allocations: 5.915 MB / 0.5391 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.7248, allocations: 0.8668 MB / 0.5399 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001355/0.7262, allocations: 180.5 kB / 0.5401 GB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.7268, allocations: 207.4 kB / 0.5403 GB, free: 1.488 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7268, allocations: 0 / 0.5403 GB, free: 1.488 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0557/0.7825, allocations: 16.33 MB / 0.5562 GB, free: 1.262 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004011/0.783, allocations: 288.3 kB / 0.5565 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/3.78, allocations: 0 / 0.5565 GB, free: 0.9062 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat