Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_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.001048/0.001048, allocations: 100.1 kB / 17.63 MB, free: 5.523 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.001012/0.001012, allocations: 195.9 kB / 18.56 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.213/0.213, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 59.72 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09631, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3639/0.4602, allocations: 183.1 MB / 0.6371 GB, free: 9.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.4653, allocations: 3.259 MB / 0.6403 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.4658, allocations: 19.88 kB / 0.6403 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.4666, allocations: 321.8 kB / 0.6406 GB, free: 5.762 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.4697, allocations: 1.395 MB / 0.642 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.4714, allocations: 0.7332 MB / 0.6427 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4729, allocations: 1.547 MB / 0.6442 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.4734, allocations: 431.4 kB / 0.6446 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.4741, allocations: 0.58 MB / 0.6452 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.4746, allocations: 466.1 kB / 0.6457 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.4747, allocations: 52 kB / 0.6457 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.4766, allocations: 1.143 MB / 0.6468 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.4768, allocations: 159.4 kB / 0.647 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.4771, allocations: 354.4 kB / 0.6473 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.4788, allocations: 1.492 MB / 0.6488 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4788, allocations: 0 / 0.6488 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4788, allocations: 4 kB / 0.6488 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4789, allocations: 0 / 0.6488 GB, free: 13.42 MB / 494.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.001671/0.4805, allocations: 1.056 MB / 0.6498 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4806, allocations: 8.031 kB / 0.6498 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.4807, allocations: 82.52 kB / 0.6499 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.4817, allocations: 143.2 kB / 0.65 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.4823, allocations: 476.5 kB / 0.6505 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.4823, allocations: 32.98 kB / 0.6505 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.4824, allocations: 43.94 kB / 0.6506 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.4834, allocations: 0.5984 MB / 0.6511 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4834, allocations: 0 / 0.6511 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.4835, allocations: 23.94 kB / 0.6512 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4835, allocations: 15.94 kB / 0.6512 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.4845, allocations: 475.6 kB / 0.6516 GB, free: 10.36 MB / 494.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.002822/0.4873, allocations: 2.686 MB / 0.6543 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.488, allocations: 351.5 kB / 0.6546 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.4884, allocations: 169.3 kB / 0.6547 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.4888, allocations: 441.9 kB / 0.6552 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.4888, allocations: 38.84 kB / 0.6552 GB, free: 6.359 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.4889, allocations: 0 / 0.6552 GB, free: 6.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001703/0.4906, allocations: 0.7304 MB / 0.6559 GB, free: 5.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.4906, allocations: 140.4 kB / 0.6561 GB, free: 5.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.4912, allocations: 498 kB / 0.6565 GB, free: 4.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.4912, allocations: 37.69 kB / 0.6566 GB, free: 4.895 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4914, allocations: 275.8 kB / 0.6568 GB, free: 4.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.4915, allocations: 122.3 kB / 0.6569 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.4917, allocations: 102 kB / 0.657 GB, free: 4.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4918, allocations: 362.8 kB / 0.6574 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.4921, allocations: 148.8 kB / 0.6575 GB, free: 3.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.4925, allocations: 279.7 kB / 0.6578 GB, free: 3.562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.4933, allocations: 445.6 kB / 0.6582 GB, free: 3.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4933, allocations: 0 / 0.6582 GB, free: 3.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009942/0.4943, allocations: 0.5482 MB / 0.6588 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4943, allocations: 7.938 kB / 0.6588 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4943, allocations: 4 kB / 0.6588 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.4959, allocations: 241.8 kB / 0.659 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.4963, allocations: 103.9 kB / 0.6591 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004427/0.4967, allocations: 0.5993 MB / 0.6597 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.497, allocations: 47.42 kB / 0.6597 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.428e-05/0.4971, allocations: 47.98 kB / 0.6598 GB, free: 1.453 MB / 494.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.000222/0.4973, allocations: 189.6 kB / 0.66 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4975, allocations: 51.44 kB / 0.66 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.4994, allocations: 1.09 MB / 0.6611 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4995, allocations: 4 kB / 0.6611 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4995, allocations: 4 kB / 0.6611 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4995, allocations: 4 kB / 0.6611 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.5009, allocations: 1.028 MB / 0.6621 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5009, allocations: 4.031 kB / 0.6621 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.5011, allocations: 55.91 kB / 0.6621 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/0.5043, allocations: 444.1 kB / 0.6626 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.5044, allocations: 12 kB / 0.6626 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004021/0.5048, allocations: 0.6108 MB / 0.6632 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5048, allocations: 4.031 kB / 0.6632 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.5056, allocations: 0.5115 MB / 0.6637 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5057, allocations: 132.5 kB / 0.6638 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.5058, allocations: 15.84 kB / 0.6638 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.5061, allocations: 23.98 kB / 0.6638 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.5062, allocations: 27.91 kB / 0.6639 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.5062, allocations: 19.98 kB / 0.6639 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004643/0.5067, allocations: 422.8 kB / 0.6643 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5067, allocations: 0 / 0.6643 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007613/0.5075, allocations: 279.8 kB / 0.6646 GB, free: 12.36 MB / 0.4981 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 (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.001671/0.5092, allocations: 1.342 MB / 0.6659 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008345/0.51, allocations: 392.5 kB / 0.6662 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.51, allocations: 7.938 kB / 0.6662 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.5104, allocations: 171.8 kB / 0.6664 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.5121, allocations: 351.9 kB / 0.6667 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/0.5183, allocations: 5.051 MB / 0.6717 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.5187, allocations: 0.8673 MB / 0.6725 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001156/0.5199, allocations: 0.5528 MB / 0.6731 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.5203, allocations: 235.3 kB / 0.6733 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5203, allocations: 3.938 kB / 0.6733 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.5631, allocations: 21.35 MB / 0.6941 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.75, allocations: 17.45 kB / 0.6942 GB, free: 14.11 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches