Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3892, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.226/0.6153, allocations: 185.8 MB / 0.7119 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004845/0.6202, allocations: 2.127 MB / 0.714 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009627/0.6212, allocations: 15.88 kB / 0.714 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.6224, allocations: 309.9 kB / 0.7143 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.6268, allocations: 1.185 MB / 0.7155 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.629, allocations: 0.6747 MB / 0.7161 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00234/0.6314, allocations: 1.488 MB / 0.7176 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.6321, allocations: 419.3 kB / 0.718 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.6332, allocations: 0.5838 MB / 0.7186 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.6337, allocations: 438.2 kB / 0.719 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.6338, allocations: 48 kB / 0.719 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4128/1.047, allocations: 0.7999 MB / 0.7198 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/1.047, allocations: 150.8 kB / 0.72 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/1.048, allocations: 325.4 kB / 0.7203 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/1.05, allocations: 1.214 MB / 0.7215 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.05, allocations: 0 / 0.7215 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/1.05, allocations: 0 / 0.7215 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.263e-05/1.05, allocations: 2.156 kB / 0.7215 GB, free: 4.02 MB / 0.5606 GB 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.001885/1.052, allocations: 1.005 MB / 0.7224 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.052, allocations: 13.44 kB / 0.7225 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/1.052, allocations: 82.17 kB / 0.7225 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.053, allocations: 145.5 kB / 0.7227 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/1.054, allocations: 462.8 kB / 0.7231 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/1.054, allocations: 29.33 kB / 0.7231 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/1.054, allocations: 43.81 kB / 0.7232 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.055, allocations: 0.5488 MB / 0.7237 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.055, allocations: 0.6875 kB / 0.7237 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/1.055, allocations: 22.38 kB / 0.7237 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/1.055, allocations: 14.83 kB / 0.7238 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/1.056, allocations: 405.9 kB / 0.7241 GB, free: 2.973 MB / 0.5606 GB 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.00323/1.059, allocations: 2.578 MB / 0.7267 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/1.06, allocations: 294.8 kB / 0.7269 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/1.06, allocations: 148.4 kB / 0.7271 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/1.061, allocations: 353 kB / 0.7274 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.061, allocations: 41.47 kB / 0.7275 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.354e-06/1.061, allocations: 3.094 kB / 0.7275 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002624/1.063, allocations: 0.7005 MB / 0.7281 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/1.064, allocations: 137.4 kB / 0.7283 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/1.064, allocations: 449.9 kB / 0.7287 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/1.064, allocations: 32.64 kB / 0.7287 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/1.064, allocations: 269.5 kB / 0.729 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/1.065, allocations: 112 kB / 0.7291 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.065, allocations: 108.6 kB / 0.7292 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.065, allocations: 359.3 kB / 0.7295 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/1.065, allocations: 140.5 kB / 0.7297 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/1.066, allocations: 276.2 kB / 0.7299 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/1.067, allocations: 426.9 kB / 0.7303 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.067, allocations: 7.156 kB / 0.7304 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001194/1.068, allocations: 0.5264 MB / 0.7309 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.068, allocations: 9.656 kB / 0.7309 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.068, allocations: 5.297 kB / 0.7309 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/1.07, allocations: 267.4 kB / 0.7311 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/1.07, allocations: 106.1 kB / 0.7312 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009391/1.071, allocations: 0.5984 MB / 0.7318 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/1.072, allocations: 54.14 kB / 0.7319 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/1.072, allocations: 49.75 kB / 0.7319 GB, free: 14.83 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003443/1.072, allocations: 174.3 kB / 0.7321 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.072, allocations: 54.56 kB / 0.7321 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/1.074, allocations: 1.032 MB / 0.7331 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/1.074, allocations: 4.844 kB / 0.7332 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.074, allocations: 0.7812 kB / 0.7332 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.074, allocations: 0 / 0.7332 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.076, allocations: 0.9794 MB / 0.7341 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.076, allocations: 2.219 kB / 0.7341 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/1.076, allocations: 50.72 kB / 0.7342 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/1.078, allocations: 259.8 kB / 0.7344 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/1.078, allocations: 13.09 kB / 0.7344 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008942/1.079, allocations: 0.6028 MB / 0.735 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.079, allocations: 6.969 kB / 0.735 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.08, allocations: 0.5072 MB / 0.7355 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/1.08, allocations: 130.4 kB / 0.7356 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.081, allocations: 12 kB / 0.7356 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/1.081, allocations: 19.73 kB / 0.7357 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/1.081, allocations: 23 kB / 0.7357 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/1.081, allocations: 20.47 kB / 0.7357 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004487/1.082, allocations: 387 kB / 0.7361 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.082, allocations: 1.203 kB / 0.7361 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008587/1.082, allocations: 230.3 kB / 0.7363 GB, free: 13.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002272/1.085, allocations: 1.239 MB / 0.7375 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001414/1.086, allocations: 366.5 kB / 0.7379 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.086, allocations: 2.625 kB / 0.7379 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/1.087, allocations: 164.8 kB / 0.738 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/1.089, allocations: 346.3 kB / 0.7383 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/1.096, allocations: 4.714 MB / 0.7429 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/1.096, allocations: 0.846 MB / 0.7438 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001009/1.097, allocations: 0.5465 MB / 0.7443 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/1.098, allocations: 219.2 kB / 0.7445 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/1.098, allocations: 4.578 kB / 0.7445 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04216/1.14, allocations: 19.42 MB / 0.7635 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.51, allocations: 21.03 kB / 0.7635 GB, free: 6.855 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches