Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 106.2 kB / 16.27 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 191.1 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1941/0.1941, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002247, allocations: 67.38 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0808/0.08306, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3493/0.4324, allocations: 190 MB / 0.6159 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007427/0.4399, allocations: 5.701 MB / 0.6214 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.4405, allocations: 18.53 kB / 0.6214 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007816/0.4412, allocations: 321.4 kB / 0.6217 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.4446, allocations: 1.628 MB / 0.6233 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.4462, allocations: 0.7352 MB / 0.6241 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.4476, allocations: 1.547 MB / 0.6256 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.4481, allocations: 435.6 kB / 0.626 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006382/0.4487, allocations: 0.5792 MB / 0.6265 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.4492, allocations: 463.3 kB / 0.627 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.805e-05/0.4493, allocations: 52 kB / 0.627 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.4514, allocations: 1.318 MB / 0.6283 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.4516, allocations: 163.5 kB / 0.6285 GB, free: 8.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.452, allocations: 342.4 kB / 0.6288 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.4538, allocations: 1.609 MB / 0.6304 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.4539, allocations: 0 / 0.6304 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4539, allocations: 0 / 0.6304 GB, free: 6.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4539, allocations: 0 / 0.6304 GB, free: 6.418 MB / 446.1 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.001759/0.4556, allocations: 1.099 MB / 0.6314 GB, free: 5.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4557, allocations: 15.89 kB / 0.6315 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.646e-05/0.4558, allocations: 82.52 kB / 0.6315 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.4568, allocations: 139.2 kB / 0.6317 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.4574, allocations: 480.5 kB / 0.6321 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.4574, allocations: 29 kB / 0.6322 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.4575, allocations: 43.94 kB / 0.6322 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4585, allocations: 0.6023 MB / 0.6328 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4585, allocations: 3.938 kB / 0.6328 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/0.4586, allocations: 16 kB / 0.6328 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4586, allocations: 16 kB / 0.6328 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.4596, allocations: 479.6 kB / 0.6333 GB, free: 3.301 MB / 446.1 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.002827/0.4624, allocations: 2.698 MB / 0.6359 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.4631, allocations: 351.4 kB / 0.6363 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.4634, allocations: 171.7 kB / 0.6364 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.4646, allocations: 1.3 MB / 0.6377 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4647, allocations: 38.84 kB / 0.6377 GB, free: 14.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.4647, allocations: 0 / 0.6377 GB, free: 14.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001749/0.4664, allocations: 0.7259 MB / 0.6384 GB, free: 13.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.4665, allocations: 132.5 kB / 0.6386 GB, free: 13.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.4671, allocations: 0.498 MB / 0.639 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.4672, allocations: 29.7 kB / 0.6391 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.4674, allocations: 275.9 kB / 0.6393 GB, free: 12.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.4675, allocations: 122.2 kB / 0.6395 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.4677, allocations: 106 kB / 0.6396 GB, free: 12.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4678, allocations: 362.8 kB / 0.6399 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4682, allocations: 140.8 kB / 0.64 GB, free: 11.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.4686, allocations: 287.7 kB / 0.6403 GB, free: 11.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.4693, allocations: 445.6 kB / 0.6407 GB, free: 11.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4693, allocations: 7.938 kB / 0.6407 GB, free: 11.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009513/0.4703, allocations: 0.5326 MB / 0.6413 GB, free: 10.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4703, allocations: 5.219 kB / 0.6413 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4703, allocations: 8 kB / 0.6413 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.4719, allocations: 240.5 kB / 0.6415 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.4723, allocations: 107.8 kB / 0.6416 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000476/0.4728, allocations: 0.5952 MB / 0.6422 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.4731, allocations: 55.45 kB / 0.6422 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.4732, allocations: 48.05 kB / 0.6423 GB, free: 9.391 MB / 462.1 MB 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002114/0.4734, allocations: 185.6 kB / 0.6425 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4735, allocations: 51.34 kB / 0.6425 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.475, allocations: 0.7271 MB / 0.6432 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4751, allocations: 4 kB / 0.6432 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4751, allocations: 0 / 0.6432 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.4751, allocations: 3.938 kB / 0.6432 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.4765, allocations: 1.031 MB / 0.6442 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4765, allocations: 4 kB / 0.6442 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.4767, allocations: 60 kB / 0.6443 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/0.48, allocations: 440.2 kB / 0.6447 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.4801, allocations: 12 kB / 0.6447 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004193/0.4805, allocations: 0.6069 MB / 0.6453 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4805, allocations: 0 / 0.6453 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.4813, allocations: 0.5238 MB / 0.6458 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4814, allocations: 140.3 kB / 0.646 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.4815, allocations: 15.89 kB / 0.646 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.4818, allocations: 15.98 kB / 0.646 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.4819, allocations: 27.91 kB / 0.646 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.482, allocations: 16 kB / 0.646 GB, free: 5.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.4824, allocations: 422.8 kB / 0.6464 GB, free: 4.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4824, allocations: 0 / 0.6464 GB, free: 4.945 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008313/0.4833, allocations: 327.7 kB / 0.6468 GB, free: 4.625 MB / 462.1 MB 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001867/0.4852, allocations: 1.404 MB / 0.6481 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.486, allocations: 396.1 kB / 0.6485 GB, free: 2.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.486, allocations: 0 / 0.6485 GB, free: 2.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.4864, allocations: 164.3 kB / 0.6487 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.4881, allocations: 370 kB / 0.649 GB, free: 2.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.4944, allocations: 5.076 MB / 0.654 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.4948, allocations: 0.8634 MB / 0.6548 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008366/0.4956, allocations: 201 kB / 0.655 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.496, allocations: 215.4 kB / 0.6552 GB, free: 11.7 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.496, allocations: 0 / 0.6552 GB, free: 11.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.5412, allocations: 22.42 MB / 0.6771 GB, free: 5.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.7, allocations: 4.438 kB / 0.6771 GB, free: 5.27 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches