Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001596/0.001596, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 77.84 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09922, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3606/0.4599, allocations: 186 MB / 0.6505 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.4647, allocations: 3.259 MB / 0.6537 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.465, allocations: 15.94 kB / 0.6537 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.4658, allocations: 317.8 kB / 0.654 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.4688, allocations: 1.398 MB / 0.6554 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.4705, allocations: 0.7424 MB / 0.6561 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.472, allocations: 1.551 MB / 0.6576 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.4726, allocations: 431.5 kB / 0.658 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.4733, allocations: 0.5722 MB / 0.6586 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.4738, allocations: 470 kB / 0.659 GB, free: 344 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.4739, allocations: 55.94 kB / 0.6591 GB, free: 288 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.4758, allocations: 1.154 MB / 0.6602 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.4759, allocations: 163.4 kB / 0.6604 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.4763, allocations: 346.5 kB / 0.6607 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.478, allocations: 1.492 MB / 0.6622 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.478, allocations: 4 kB / 0.6622 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.478, allocations: 0 / 0.6622 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.478, allocations: 0 / 0.6622 GB, free: 13.12 MB / 0.4981 GB 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.001675/0.4797, allocations: 1.064 MB / 0.6632 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.4798, allocations: 8.031 kB / 0.6632 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.4799, allocations: 86.52 kB / 0.6633 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.4809, allocations: 135.2 kB / 0.6634 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.4815, allocations: 480.4 kB / 0.6639 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4815, allocations: 29 kB / 0.6639 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.4816, allocations: 43.94 kB / 0.6639 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.4826, allocations: 0.5984 MB / 0.6645 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4827, allocations: 0 / 0.6645 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.4827, allocations: 20 kB / 0.6645 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4827, allocations: 16 kB / 0.6646 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.4837, allocations: 489 kB / 0.665 GB, free: 10.05 MB / 0.4981 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.002902/0.4866, allocations: 2.674 MB / 0.6676 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.4874, allocations: 357.9 kB / 0.668 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.4877, allocations: 177.3 kB / 0.6682 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004022/0.4881, allocations: 437.8 kB / 0.6686 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4882, allocations: 42.83 kB / 0.6686 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.502e-06/0.4882, allocations: 0 / 0.6686 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001765/0.4899, allocations: 0.7265 MB / 0.6693 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.49, allocations: 136.5 kB / 0.6695 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.4906, allocations: 0.4903 MB / 0.6699 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.4906, allocations: 37.7 kB / 0.67 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4908, allocations: 275.8 kB / 0.6702 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.4909, allocations: 122.3 kB / 0.6703 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.4911, allocations: 106 kB / 0.6704 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4912, allocations: 358.8 kB / 0.6708 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003234/0.4916, allocations: 144.8 kB / 0.6709 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.492, allocations: 283.7 kB / 0.6712 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.4928, allocations: 445.6 kB / 0.6716 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4928, allocations: 0 / 0.6716 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001045/0.4938, allocations: 0.5481 MB / 0.6722 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4939, allocations: 7.938 kB / 0.6722 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.4939, allocations: 5.531 kB / 0.6722 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.4955, allocations: 248.5 kB / 0.6724 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.4959, allocations: 99.89 kB / 0.6725 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004434/0.4963, allocations: 0.6028 MB / 0.6731 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.4966, allocations: 43.44 kB / 0.6731 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.4967, allocations: 47.98 kB / 0.6732 GB, free: 1.137 MB / 0.4981 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 (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.0002279/0.497, allocations: 185.8 kB / 0.6734 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.4971, allocations: 51.44 kB / 0.6734 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.4992, allocations: 1.095 MB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4992, allocations: 4 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4992, allocations: 0 / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4992, allocations: 0 / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.5006, allocations: 1.03 MB / 0.6755 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5006, allocations: 0 / 0.6755 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.5009, allocations: 55.91 kB / 0.6755 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.5042, allocations: 444.3 kB / 0.676 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.5043, allocations: 16 kB / 0.676 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004276/0.5047, allocations: 0.6031 MB / 0.6766 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5047, allocations: 11.91 kB / 0.6766 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.5055, allocations: 0.5123 MB / 0.6771 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5056, allocations: 136.4 kB / 0.6772 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.5058, allocations: 19.95 kB / 0.6772 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.5061, allocations: 19.98 kB / 0.6772 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.5062, allocations: 31.86 kB / 0.6773 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.5062, allocations: 15.98 kB / 0.6773 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000495/0.5067, allocations: 418.8 kB / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5067, allocations: 0 / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007785/0.5075, allocations: 287.8 kB / 0.678 GB, free: 12.04 MB / 0.5137 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.00176/0.5093, allocations: 1.326 MB / 0.6793 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000876/0.5102, allocations: 395.5 kB / 0.6796 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5102, allocations: 0 / 0.6796 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.5105, allocations: 173.5 kB / 0.6798 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.5123, allocations: 361.6 kB / 0.6801 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.5188, allocations: 5.07 MB / 0.6851 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.5192, allocations: 0.8518 MB / 0.6859 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001251/0.5205, allocations: 0.5689 MB / 0.6865 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.5209, allocations: 231.3 kB / 0.6867 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.5209, allocations: 0 / 0.6867 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/0.7286, allocations: 21.41 MB / 0.7076 GB, free: 199.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.2, allocations: 7.453 kB / 0.7076 GB, free: 199.5 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches