Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.001645/0.001645, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.00211/0.00211, allocations: 181 kB / 18.71 MB, free: 4.207 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2147/0.2147, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 59.91 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.331, allocations: 60.83 MB / 0.5184 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.226/0.5571, allocations: 181.1 MB / 0.6953 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007711/0.5649, allocations: 4.595 MB / 0.6998 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.5656, allocations: 15.88 kB / 0.6998 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.5669, allocations: 349.7 kB / 0.7002 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.572, allocations: 1.772 MB / 0.7019 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.5747, allocations: 0.9387 MB / 0.7028 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002577/0.5773, allocations: 1.703 MB / 0.7045 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008014/0.5781, allocations: 446.2 kB / 0.7049 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.5799, allocations: 0.8409 MB / 0.7057 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.5809, allocations: 0.4903 MB / 0.7062 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.5811, allocations: 52 kB / 0.7062 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.5841, allocations: 1.295 MB / 0.7075 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.5844, allocations: 175.4 kB / 0.7077 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.5849, allocations: 370.4 kB / 0.708 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.588, allocations: 1.635 MB / 0.7096 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.588, allocations: 0 / 0.7096 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.588, allocations: 0 / 0.7096 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.5881, allocations: 0 / 0.7096 GB, free: 7.633 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002191/0.5902, allocations: 1.128 MB / 0.7107 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5903, allocations: 8.031 kB / 0.7107 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.5904, allocations: 90.53 kB / 0.7108 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.5916, allocations: 155.5 kB / 0.711 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009824/0.5926, allocations: 0.5046 MB / 0.7115 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.5927, allocations: 33 kB / 0.7115 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.5928, allocations: 44 kB / 0.7115 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.594, allocations: 0.6438 MB / 0.7122 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.594, allocations: 4 kB / 0.7122 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.5941, allocations: 24 kB / 0.7122 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5941, allocations: 12 kB / 0.7122 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009611/0.5951, allocations: 0.4917 MB / 0.7127 GB, free: 4.352 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.003393/0.5985, allocations: 2.653 MB / 0.7153 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.5992, allocations: 322.9 kB / 0.7156 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.5995, allocations: 156.8 kB / 0.7157 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.6, allocations: 437.5 kB / 0.7161 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/0.6, allocations: 50.3 kB / 0.7162 GB, free: 464 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.6, allocations: 0 / 0.7162 GB, free: 464 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.219/0.8191, allocations: 0.693 MB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.8192, allocations: 163 kB / 0.717 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.82, allocations: 0.5113 MB / 0.7175 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.8201, allocations: 35.67 kB / 0.7176 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.8203, allocations: 314.8 kB / 0.7179 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8204, allocations: 128.2 kB / 0.718 GB, free: 190 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.8206, allocations: 118.5 kB / 0.7181 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.8207, allocations: 363.9 kB / 0.7184 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.8211, allocations: 149 kB / 0.7186 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.8215, allocations: 319.8 kB / 0.7189 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.8221, allocations: 483.2 kB / 0.7193 GB, free: 189 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8222, allocations: 2.219 kB / 0.7194 GB, free: 189 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001032/0.8232, allocations: 0.5706 MB / 0.7199 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.8232, allocations: 7.484 kB / 0.7199 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8232, allocations: 4.406 kB / 0.7199 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.8248, allocations: 241 kB / 0.7202 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.8252, allocations: 122.2 kB / 0.7203 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/0.8256, allocations: 0.5835 MB / 0.7208 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.8259, allocations: 61.36 kB / 0.7209 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.826, allocations: 59.09 kB / 0.721 GB, free: 188.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.000247/0.8263, allocations: 195.4 kB / 0.7211 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.8264, allocations: 63.06 kB / 0.7212 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.8283, allocations: 1.097 MB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8283, allocations: 4.062 kB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8283, allocations: 7.609 kB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.8283, allocations: 5.672 kB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8296, allocations: 1.012 MB / 0.7233 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.8296, allocations: 2.75 kB / 0.7233 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.8298, allocations: 53.56 kB / 0.7233 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.833, allocations: 440.4 kB / 0.7237 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.8331, allocations: 10.73 kB / 0.7238 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003803/0.8335, allocations: 0.6076 MB / 0.7244 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8335, allocations: 2.969 kB / 0.7244 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.8344, allocations: 0.5036 MB / 0.7248 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.8346, allocations: 138 kB / 0.725 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.8347, allocations: 12.78 kB / 0.725 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.8351, allocations: 14.05 kB / 0.725 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.8351, allocations: 28.28 kB / 0.725 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.8352, allocations: 22.36 kB / 0.7251 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006502/0.8359, allocations: 446.6 kB / 0.7255 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8359, allocations: 0 / 0.7255 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001041/0.8369, allocations: 299.4 kB / 0.7258 GB, free: 185.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001597/0.8385, allocations: 1.322 MB / 0.7271 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008534/0.8394, allocations: 382.4 kB / 0.7274 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.8394, allocations: 1.375 kB / 0.7274 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.8397, allocations: 155 kB / 0.7276 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.8416, allocations: 398.7 kB / 0.7279 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.8475, allocations: 5.048 MB / 0.7329 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.8478, allocations: 0.8698 MB / 0.7337 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00107/0.8489, allocations: 0.5709 MB / 0.7343 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.8492, allocations: 242.5 kB / 0.7345 GB, free: 180 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.8492, allocations: 1.188 kB / 0.7345 GB, free: 180 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.8938, allocations: 23.02 MB / 0.757 GB, free: 161 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.76, allocations: 8.969 kB / 0.757 GB, free: 161 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches