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.001452/0.001452, allocations: 104.9 kB / 16.41 MB, free: 6.512 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.001483/0.001483, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2102/0.2102, allocations: 43.52 MB / 314.1 MB, free: 456 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.002017/0.002017, allocations: 69.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1187, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4682/0.587, allocations: 187.7 MB / 0.6707 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.5974, allocations: 7.028 MB / 0.6776 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006877/0.5982, allocations: 15.88 kB / 0.6776 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.5992, allocations: 349.7 kB / 0.6779 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.6059, allocations: 2.377 MB / 0.6802 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.6085, allocations: 0.9467 MB / 0.6812 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002586/0.6111, allocations: 1.695 MB / 0.6828 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.6118, allocations: 442 kB / 0.6832 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.6135, allocations: 0.8409 MB / 0.6841 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007044/0.6142, allocations: 498.1 kB / 0.6845 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.6144, allocations: 52 kB / 0.6846 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.6177, allocations: 1.505 MB / 0.6861 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.6179, allocations: 171.4 kB / 0.6862 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.6184, allocations: 382.3 kB / 0.6866 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.6215, allocations: 1.745 MB / 0.6883 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.6216, allocations: 4 kB / 0.6883 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6216, allocations: 3.938 kB / 0.6883 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.6216, allocations: 0 / 0.6883 GB, free: 12.97 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.002123/0.6237, allocations: 1.163 MB / 0.6894 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6238, allocations: 15.89 kB / 0.6894 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.6239, allocations: 90.45 kB / 0.6895 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6251, allocations: 159.5 kB / 0.6897 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.626, allocations: 0.5163 MB / 0.6902 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.626, allocations: 30.5 kB / 0.6902 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.6261, allocations: 44 kB / 0.6903 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6273, allocations: 0.6322 MB / 0.6909 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6273, allocations: 7.938 kB / 0.6909 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.6274, allocations: 19.94 kB / 0.6909 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.6274, allocations: 15.98 kB / 0.6909 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.6284, allocations: 0.4918 MB / 0.6914 GB, free: 9.645 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.003557/0.632, allocations: 2.665 MB / 0.694 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.6327, allocations: 318.6 kB / 0.6943 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.633, allocations: 168.8 kB / 0.6945 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.6344, allocations: 1.296 MB / 0.6957 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6345, allocations: 38.56 kB / 0.6958 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/0.6345, allocations: 0 / 0.6958 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001695/0.6362, allocations: 0.7058 MB / 0.6965 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6363, allocations: 162.1 kB / 0.6966 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006985/0.637, allocations: 0.5223 MB / 0.6971 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.6371, allocations: 33.7 kB / 0.6972 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.6373, allocations: 312.1 kB / 0.6975 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.6374, allocations: 123 kB / 0.6976 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.6376, allocations: 126.1 kB / 0.6977 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6378, allocations: 362.8 kB / 0.698 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.6381, allocations: 141 kB / 0.6982 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.6386, allocations: 322.9 kB / 0.6985 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.6394, allocations: 470.8 kB / 0.6989 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6395, allocations: 3.938 kB / 0.6989 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001103/0.6406, allocations: 0.5721 MB / 0.6995 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.6406, allocations: 10.66 kB / 0.6995 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6406, allocations: 4 kB / 0.6995 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.6422, allocations: 241.1 kB / 0.6997 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.6426, allocations: 115.8 kB / 0.6998 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005767/0.6431, allocations: 0.5836 MB / 0.7004 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.6435, allocations: 60.44 kB / 0.7005 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.6436, allocations: 51.98 kB / 0.7005 GB, free: 15.6 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.0002837/0.6439, allocations: 201.5 kB / 0.7007 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.644, allocations: 67.67 kB / 0.7008 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.6456, allocations: 0.7357 MB / 0.7015 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6456, allocations: 4 kB / 0.7015 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6456, allocations: 0 / 0.7015 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6456, allocations: 0 / 0.7015 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.6472, allocations: 1.027 MB / 0.7025 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6472, allocations: 4 kB / 0.7025 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.6474, allocations: 59.78 kB / 0.7026 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/0.6505, allocations: 436.4 kB / 0.703 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.6506, allocations: 15.98 kB / 0.703 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004968/0.6511, allocations: 0.5914 MB / 0.7036 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.6511, allocations: 8.094 kB / 0.7036 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.6519, allocations: 0.4975 MB / 0.7041 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.652, allocations: 136.7 kB / 0.7042 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.6521, allocations: 19.89 kB / 0.7042 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.6525, allocations: 23.92 kB / 0.7042 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.6526, allocations: 31.84 kB / 0.7043 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.6526, allocations: 23.98 kB / 0.7043 GB, free: 11.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005765/0.6532, allocations: 434.8 kB / 0.7047 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6532, allocations: 0 / 0.7047 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009565/0.6542, allocations: 335.2 kB / 0.705 GB, free: 10.78 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.002129/0.6563, allocations: 1.407 MB / 0.7064 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000852/0.6572, allocations: 379.7 kB / 0.7068 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6572, allocations: 5.25 kB / 0.7068 GB, free: 8.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.6575, allocations: 152.2 kB / 0.7069 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.6594, allocations: 410.4 kB / 0.7073 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.6669, allocations: 5.042 MB / 0.7122 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.6675, allocations: 0.8637 MB / 0.7131 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008363/0.6683, allocations: 225.1 kB / 0.7133 GB, free: 2.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.6687, allocations: 231.3 kB / 0.7135 GB, free: 1.777 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6687, allocations: 0 / 0.7135 GB, free: 1.777 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06097/0.7297, allocations: 24.03 MB / 0.737 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.59, allocations: 19.72 kB / 0.737 GB, free: 9.719 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