Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_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.001564/0.001564, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001535/0.001535, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2089/0.2089, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 61.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4763/0.5858, allocations: 187.7 MB / 0.6707 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009954/0.5958, allocations: 7.016 MB / 0.6776 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.5965, allocations: 19.88 kB / 0.6776 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5976, allocations: 349.7 kB / 0.6779 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.6044, allocations: 2.413 MB / 0.6803 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.607, allocations: 0.9388 MB / 0.6812 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.6093, allocations: 1.699 MB / 0.6828 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.6099, allocations: 446 kB / 0.6833 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.6114, allocations: 0.8565 MB / 0.6841 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.612, allocations: 498.1 kB / 0.6846 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.6121, allocations: 56 kB / 0.6846 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.6151, allocations: 1.502 MB / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.6153, allocations: 175.4 kB / 0.6863 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.6157, allocations: 374.3 kB / 0.6866 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.6184, allocations: 1.749 MB / 0.6883 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6185, allocations: 0 / 0.6883 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6185, allocations: 3.938 kB / 0.6883 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.6185, allocations: 0 / 0.6883 GB, free: 12.93 MB / 0.5294 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.002084/0.6206, allocations: 1.163 MB / 0.6895 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6206, allocations: 15.89 kB / 0.6895 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.6208, allocations: 94.45 kB / 0.6896 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.6219, allocations: 159.5 kB / 0.6897 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.6228, allocations: 0.5085 MB / 0.6902 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.6229, allocations: 33 kB / 0.6903 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.6229, allocations: 44 kB / 0.6903 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.624, allocations: 0.6399 MB / 0.6909 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6241, allocations: 0 / 0.6909 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.6241, allocations: 31.62 kB / 0.691 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.6242, allocations: 16 kB / 0.691 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.625, allocations: 499.6 kB / 0.6914 GB, free: 9.598 MB / 0.5294 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.003054/0.6281, allocations: 2.665 MB / 0.694 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.6287, allocations: 318.8 kB / 0.6943 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.629, allocations: 160.7 kB / 0.6945 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.6304, allocations: 1.3 MB / 0.6958 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.6304, allocations: 42.55 kB / 0.6958 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.6304, allocations: 0 / 0.6958 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001615/0.6321, allocations: 0.7019 MB / 0.6965 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.6322, allocations: 170.1 kB / 0.6967 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.6327, allocations: 0.5145 MB / 0.6972 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.6328, allocations: 37.7 kB / 0.6972 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.633, allocations: 312.1 kB / 0.6975 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6331, allocations: 130.9 kB / 0.6976 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.6333, allocations: 114.2 kB / 0.6977 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6335, allocations: 370.8 kB / 0.6981 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.6338, allocations: 141.1 kB / 0.6982 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.6342, allocations: 314.9 kB / 0.6985 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.6349, allocations: 478.7 kB / 0.699 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.6349, allocations: 0 / 0.699 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001001/0.6359, allocations: 0.5754 MB / 0.6995 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6359, allocations: 10.66 kB / 0.6995 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.6359, allocations: 4.625 kB / 0.6996 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.6375, allocations: 244.5 kB / 0.6998 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.6379, allocations: 119.8 kB / 0.6999 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004639/0.6384, allocations: 0.5875 MB / 0.7005 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.6388, allocations: 55.56 kB / 0.7005 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.6389, allocations: 51.98 kB / 0.7006 GB, free: 15.54 MB / 0.545 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.0002616/0.6392, allocations: 197.6 kB / 0.7008 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6393, allocations: 63.62 kB / 0.7008 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.6407, allocations: 0.7315 MB / 0.7015 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6407, allocations: 4 kB / 0.7015 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6407, allocations: 0 / 0.7015 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.6407, allocations: 3.984 kB / 0.7015 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.6421, allocations: 1.027 MB / 0.7025 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6421, allocations: 3.984 kB / 0.7026 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.6424, allocations: 55.98 kB / 0.7026 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/0.6454, allocations: 448.2 kB / 0.703 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.6455, allocations: 8 kB / 0.703 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003971/0.6459, allocations: 0.5953 MB / 0.7036 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6459, allocations: 3.938 kB / 0.7036 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.6466, allocations: 0.4937 MB / 0.7041 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.6467, allocations: 144.7 kB / 0.7042 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6468, allocations: 27.81 kB / 0.7043 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.6472, allocations: 12 kB / 0.7043 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.6472, allocations: 31.84 kB / 0.7043 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.6473, allocations: 19.98 kB / 0.7043 GB, free: 11.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004993/0.6478, allocations: 438.8 kB / 0.7048 GB, free: 11.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6478, allocations: 0 / 0.7048 GB, free: 11.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009707/0.6488, allocations: 335.2 kB / 0.7051 GB, free: 10.73 MB / 0.545 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.001907/0.6507, allocations: 1.41 MB / 0.7064 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007792/0.6515, allocations: 376.9 kB / 0.7068 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6515, allocations: 0 / 0.7068 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.6518, allocations: 159.9 kB / 0.707 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.6536, allocations: 402.4 kB / 0.7073 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.6603, allocations: 5.039 MB / 0.7123 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.6608, allocations: 0.8715 MB / 0.7131 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007726/0.6616, allocations: 225.1 kB / 0.7133 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.6619, allocations: 227.4 kB / 0.7135 GB, free: 1.734 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.662, allocations: 0 / 0.7135 GB, free: 1.734 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.7101, allocations: 24.03 MB / 0.737 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.75, allocations: 19.72 kB / 0.737 GB, free: 9.676 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches