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.001496/0.001496, allocations: 112.8 kB / 17.78 MB, free: 5.305 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.001679/0.001679, allocations: 180.1 kB / 18.71 MB, free: 4.383 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.339/1.339, 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.2045/0.2045, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3208, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1958/0.5166, allocations: 181.1 MB / 0.6953 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007075/0.5238, allocations: 4.591 MB / 0.6998 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008036/0.5246, allocations: 19.88 kB / 0.6998 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.5258, allocations: 341.7 kB / 0.7001 GB, free: 1.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004937/0.5307, allocations: 1.8 MB / 0.7019 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.5331, allocations: 0.95 MB / 0.7028 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.5354, allocations: 1.699 MB / 0.7045 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.5362, allocations: 445.8 kB / 0.7049 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.5379, allocations: 0.8566 MB / 0.7058 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.5387, allocations: 0.5019 MB / 0.7062 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.5389, allocations: 52 kB / 0.7063 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.5415, allocations: 1.287 MB / 0.7075 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.5418, allocations: 175.4 kB / 0.7077 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.5423, allocations: 370.4 kB / 0.7081 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.5451, allocations: 1.639 MB / 0.7097 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5451, allocations: 4 kB / 0.7097 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5451, allocations: 0 / 0.7097 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.121e-05/0.5451, allocations: 3.938 kB / 0.7097 GB, free: 7.609 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.002402/0.5475, allocations: 1.12 MB / 0.7108 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5476, allocations: 8.031 kB / 0.7108 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.5477, allocations: 90.52 kB / 0.7109 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.549, allocations: 159.5 kB / 0.711 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.5499, allocations: 0.5007 MB / 0.7115 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.55, allocations: 37 kB / 0.7115 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/0.5501, allocations: 40 kB / 0.7116 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5512, allocations: 0.6438 MB / 0.7122 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.5512, allocations: 7.938 kB / 0.7122 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.5513, allocations: 16 kB / 0.7122 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5513, allocations: 12 kB / 0.7122 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.5522, allocations: 0.4918 MB / 0.7127 GB, free: 4.34 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.003036/0.5552, allocations: 2.661 MB / 0.7153 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.5559, allocations: 318.8 kB / 0.7156 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.5562, allocations: 156.8 kB / 0.7158 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004222/0.5566, allocations: 445.5 kB / 0.7162 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5567, allocations: 46.36 kB / 0.7162 GB, free: 444 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.5567, allocations: 0 / 0.7162 GB, free: 444 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.231/0.7877, allocations: 0.6963 MB / 0.7169 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.7878, allocations: 158.5 kB / 0.7171 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.7886, allocations: 0.5154 MB / 0.7176 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.7887, allocations: 32.61 kB / 0.7176 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.7889, allocations: 306.7 kB / 0.7179 GB, free: 190 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.789, allocations: 132 kB / 0.718 GB, free: 190 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.7892, allocations: 123.1 kB / 0.7181 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.7893, allocations: 363.3 kB / 0.7185 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.7896, allocations: 145.7 kB / 0.7186 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.7899, allocations: 318.7 kB / 0.7189 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.7906, allocations: 485.5 kB / 0.7194 GB, free: 189 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.7906, allocations: 2.125 kB / 0.7194 GB, free: 189 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000977/0.7916, allocations: 0.5707 MB / 0.72 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7916, allocations: 7.969 kB / 0.72 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.7916, allocations: 8.828 kB / 0.72 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.7932, allocations: 244.1 kB / 0.7202 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.7937, allocations: 117.6 kB / 0.7203 GB, free: 188.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003949/0.7941, allocations: 0.5803 MB / 0.7209 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.7945, allocations: 63.12 kB / 0.7209 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7946, allocations: 60.66 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.0002485/0.7948, allocations: 186.4 kB / 0.7212 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.795, allocations: 64.12 kB / 0.7212 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.797, allocations: 1.103 MB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.797, allocations: 5.031 kB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.797, allocations: 1.656 kB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.797, allocations: 5.953 kB / 0.7223 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.7985, allocations: 1.013 MB / 0.7233 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.7985, allocations: 1.938 kB / 0.7233 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.7987, allocations: 57.98 kB / 0.7234 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/0.8019, allocations: 436.7 kB / 0.7238 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.8019, allocations: 10.23 kB / 0.7238 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003633/0.8023, allocations: 0.608 MB / 0.7244 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8023, allocations: 2.344 kB / 0.7244 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/0.8031, allocations: 0.4976 MB / 0.7249 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.8033, allocations: 138.9 kB / 0.725 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.8034, allocations: 12.59 kB / 0.725 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.8037, allocations: 22.31 kB / 0.7251 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.8038, allocations: 24.14 kB / 0.7251 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.8039, allocations: 19.73 kB / 0.7251 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005609/0.8044, allocations: 441 kB / 0.7255 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8044, allocations: 1.375 kB / 0.7255 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001071/0.8055, allocations: 296.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.001747/0.8073, allocations: 1.337 MB / 0.7271 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008701/0.8082, allocations: 378.3 kB / 0.7275 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8082, allocations: 5.969 kB / 0.7275 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.8085, allocations: 160.5 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.001865/0.8104, allocations: 395.3 kB / 0.728 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.8168, allocations: 5.051 MB / 0.7329 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.8171, allocations: 0.8652 MB / 0.7338 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00117/0.8183, allocations: 0.573 MB / 0.7343 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.8187, allocations: 238.5 kB / 0.7346 GB, free: 180 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.8187, allocations: 0 / 0.7346 GB, free: 180 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.8601, allocations: 23.01 MB / 0.757 GB, free: 161 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.4, allocations: 15.69 kB / 0.7571 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