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.001325/0.001325, allocations: 104 kB / 16.4 MB, free: 6.492 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.001196/0.001196, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.351/1.351, 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.2096/0.2096, allocations: 43.52 MB / 314.1 MB, free: 464 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.002285/0.002285, allocations: 63.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1165, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4226/0.5391, allocations: 187.7 MB / 0.6707 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009367/0.5485, allocations: 7.024 MB / 0.6776 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.5494, allocations: 15.88 kB / 0.6776 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.5505, allocations: 345.7 kB / 0.6779 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.5569, allocations: 2.385 MB / 0.6802 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.5595, allocations: 0.9472 MB / 0.6812 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.5622, allocations: 1.691 MB / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.5629, allocations: 446 kB / 0.6832 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.5643, allocations: 0.8448 MB / 0.6841 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006527/0.565, allocations: 498 kB / 0.6845 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.5651, allocations: 56 kB / 0.6846 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003272/0.5684, allocations: 1.505 MB / 0.6861 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.5686, allocations: 171.4 kB / 0.6862 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.5691, allocations: 378.3 kB / 0.6866 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.572, allocations: 1.738 MB / 0.6883 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.572, allocations: 0 / 0.6883 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.572, allocations: 3.938 kB / 0.6883 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.572, allocations: 0 / 0.6883 GB, free: 13.02 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.001983/0.574, allocations: 1.138 MB / 0.6894 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.574, allocations: 11.89 kB / 0.6894 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.5742, allocations: 94.47 kB / 0.6895 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5753, allocations: 163 kB / 0.6896 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.5762, allocations: 0.5003 MB / 0.6901 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.5763, allocations: 37 kB / 0.6902 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.5763, allocations: 40 kB / 0.6902 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.5775, allocations: 0.636 MB / 0.6908 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5775, allocations: 3.984 kB / 0.6908 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.5776, allocations: 27.94 kB / 0.6909 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.5776, allocations: 12 kB / 0.6909 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009342/0.5786, allocations: 0.4918 MB / 0.6914 GB, free: 9.723 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.003196/0.5818, allocations: 2.66 MB / 0.6939 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.5825, allocations: 325.2 kB / 0.6943 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5828, allocations: 164.8 kB / 0.6944 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.5842, allocations: 1.304 MB / 0.6957 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.5843, allocations: 34.56 kB / 0.6957 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.5843, allocations: 0 / 0.6957 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001617/0.5859, allocations: 0.7016 MB / 0.6964 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.586, allocations: 162.1 kB / 0.6966 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.5866, allocations: 0.5223 MB / 0.6971 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.5867, allocations: 33.7 kB / 0.6971 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.5869, allocations: 299.6 kB / 0.6974 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.587, allocations: 122.2 kB / 0.6975 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.5872, allocations: 122.2 kB / 0.6976 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5873, allocations: 362.8 kB / 0.698 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.5876, allocations: 145 kB / 0.6981 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.588, allocations: 321.9 kB / 0.6984 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.5887, allocations: 474.7 kB / 0.6989 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5887, allocations: 0 / 0.6989 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009756/0.5897, allocations: 0.575 MB / 0.6994 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5898, allocations: 8 kB / 0.6994 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5898, allocations: 4 kB / 0.6994 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.5913, allocations: 233.2 kB / 0.6997 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.5917, allocations: 123.8 kB / 0.6998 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004416/0.5922, allocations: 0.5836 MB / 0.7004 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.5925, allocations: 55.38 kB / 0.7004 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.5926, allocations: 51.98 kB / 0.7005 GB, free: 15.7 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.0002394/0.5928, allocations: 201.6 kB / 0.7006 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.593, allocations: 59.41 kB / 0.7007 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.5943, allocations: 0.7431 MB / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5944, allocations: 4 kB / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5944, allocations: 0 / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5944, allocations: 0 / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5957, allocations: 1.024 MB / 0.7024 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.5957, allocations: 0 / 0.7024 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.596, allocations: 63.78 kB / 0.7025 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.5992, allocations: 440.4 kB / 0.7029 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.5993, allocations: 11.98 kB / 0.7029 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004472/0.5997, allocations: 0.5954 MB / 0.7035 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5998, allocations: 3.938 kB / 0.7035 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.6005, allocations: 0.4933 MB / 0.704 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6006, allocations: 140.3 kB / 0.7041 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.6007, allocations: 8 kB / 0.7041 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.6011, allocations: 27.92 kB / 0.7042 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.6011, allocations: 27.86 kB / 0.7042 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.6011, allocations: 15.98 kB / 0.7042 GB, free: 11.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005033/0.6017, allocations: 442.8 kB / 0.7046 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6017, allocations: 0 / 0.7046 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008957/0.6026, allocations: 339.7 kB / 0.7049 GB, free: 10.89 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.001977/0.6046, allocations: 1.394 MB / 0.7063 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007837/0.6053, allocations: 375.7 kB / 0.7067 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6054, allocations: 1.25 kB / 0.7067 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.6057, allocations: 152.2 kB / 0.7068 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.6074, allocations: 413.5 kB / 0.7072 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/0.6143, allocations: 5.024 MB / 0.7121 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.6148, allocations: 0.8637 MB / 0.713 GB, free: 2.379 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007718/0.6156, allocations: 225.1 kB / 0.7132 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.616, allocations: 227.3 kB / 0.7134 GB, free: 1.934 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.616, allocations: 4 kB / 0.7134 GB, free: 1.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05785/0.6738, allocations: 24.32 MB / 0.7371 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.96, allocations: 27.78 kB / 0.7372 GB, free: 9.566 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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