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.001805/0.001805, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.002169/0.002169, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.473/1.473, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2262/0.2262, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3239, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2198/0.5437, allocations: 183 MB / 0.6972 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005771/0.5495, allocations: 3.267 MB / 0.7004 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006133/0.5502, allocations: 19.88 kB / 0.7004 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009628/0.5512, allocations: 321.8 kB / 0.7007 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.555, allocations: 1.395 MB / 0.7021 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.557, allocations: 0.7281 MB / 0.7028 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.5593, allocations: 1.544 MB / 0.7043 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.5601, allocations: 439.4 kB / 0.7047 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.5612, allocations: 0.5799 MB / 0.7053 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.5619, allocations: 458.1 kB / 0.7057 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.562, allocations: 52 kB / 0.7058 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.5647, allocations: 1.197 MB / 0.7069 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.5649, allocations: 155.5 kB / 0.7071 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004468/0.5654, allocations: 346.4 kB / 0.7074 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.5682, allocations: 1.511 MB / 0.7089 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5682, allocations: 4 kB / 0.7089 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5682, allocations: 0 / 0.7089 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.5682, allocations: 0 / 0.7089 GB, free: 8.402 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002129/0.5704, allocations: 1.077 MB / 0.7099 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5704, allocations: 8.031 kB / 0.7099 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.5705, allocations: 90.52 kB / 0.71 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5716, allocations: 143.5 kB / 0.7102 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.5725, allocations: 0.5007 MB / 0.7107 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.5725, allocations: 32.94 kB / 0.7107 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.5726, allocations: 36 kB / 0.7107 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.5738, allocations: 0.5906 MB / 0.7113 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5738, allocations: 0 / 0.7113 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.5739, allocations: 24 kB / 0.7113 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.5739, allocations: 15.94 kB / 0.7113 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009869/0.5749, allocations: 479.6 kB / 0.7118 GB, free: 5.281 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.00335/0.5782, allocations: 2.683 MB / 0.7144 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.5791, allocations: 347.5 kB / 0.7147 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.5794, allocations: 177.3 kB / 0.7149 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.5799, allocations: 433.8 kB / 0.7153 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.5799, allocations: 50.7 kB / 0.7154 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/0.58, allocations: 0 / 0.7154 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001916/0.5819, allocations: 0.7269 MB / 0.7161 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.582, allocations: 136.5 kB / 0.7162 GB, free: 368 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2197/0.8018, allocations: 489.3 kB / 0.7167 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.8019, allocations: 34.73 kB / 0.7167 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.8021, allocations: 286.4 kB / 0.717 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.8022, allocations: 126.2 kB / 0.7171 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.8024, allocations: 105.4 kB / 0.7172 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.8025, allocations: 358.6 kB / 0.7176 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.8029, allocations: 153 kB / 0.7177 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.8034, allocations: 279 kB / 0.718 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.8041, allocations: 447.6 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.8042, allocations: 1.688 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001068/0.8052, allocations: 0.5493 MB / 0.7189 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.8053, allocations: 7.484 kB / 0.7189 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.8053, allocations: 3 kB / 0.7189 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.8068, allocations: 240.7 kB / 0.7192 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.8072, allocations: 106.1 kB / 0.7193 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/0.8076, allocations: 0.5947 MB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.8079, allocations: 53.94 kB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.808, allocations: 47.42 kB / 0.72 GB, free: 189 MB / 0.5606 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.0002246/0.8082, allocations: 185.3 kB / 0.7201 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.8083, allocations: 55.97 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.8106, allocations: 1.088 MB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.8106, allocations: 4.078 kB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8106, allocations: 1.156 kB / 0.7212 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.8106, allocations: 2.078 kB / 0.7213 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.8123, allocations: 1.037 MB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8124, allocations: 1.984 kB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.8126, allocations: 51.78 kB / 0.7223 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/0.8158, allocations: 445.3 kB / 0.7227 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.8158, allocations: 10.11 kB / 0.7227 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003729/0.8162, allocations: 0.6107 MB / 0.7233 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8162, allocations: 1.375 kB / 0.7233 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.817, allocations: 0.5173 MB / 0.7239 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.8172, allocations: 141 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.8173, allocations: 15.94 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.8176, allocations: 16.06 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.8177, allocations: 26.61 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.8178, allocations: 18.34 kB / 0.7241 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005283/0.8183, allocations: 421.5 kB / 0.7245 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8183, allocations: 0 / 0.7245 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008468/0.8192, allocations: 284 kB / 0.7247 GB, free: 186.6 MB / 0.5606 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.001634/0.8208, allocations: 1.35 MB / 0.7261 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009169/0.8217, allocations: 385.1 kB / 0.7264 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.8217, allocations: 1.438 kB / 0.7264 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.8221, allocations: 163.3 kB / 0.7266 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.8238, allocations: 353.4 kB / 0.7269 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.8302, allocations: 4.922 MB / 0.7317 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.8306, allocations: 0.8613 MB / 0.7326 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001114/0.8317, allocations: 0.5616 MB / 0.7331 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.8321, allocations: 231.5 kB / 0.7333 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.8321, allocations: 0 / 0.7333 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04654/0.8786, allocations: 21.56 MB / 0.7544 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.6, allocations: 8.109 kB / 0.7544 GB, free: 163.8 MB / 0.5606 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