Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006812/0.0006813, allocations: 82.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3121/0.3121, allocations: 43.56 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 12 kB / 432.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.3745, allocations: 93.07 MB / 0.5708 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.3749, allocations: 103.9 kB / 0.5709 GB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02278/0.3977, allocations: 7.71 MB / 0.5785 GB, free: 1.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3977, allocations: 0 / 0.5785 GB, free: 1.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3977, allocations: 0 / 0.5785 GB, free: 1.535 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005906/0.3983, allocations: 450.6 kB / 0.5789 GB, free: 1.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3984, allocations: 12.03 kB / 0.5789 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.3984, allocations: 16.75 kB / 0.5789 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3986, allocations: 176.2 kB / 0.5791 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3986, allocations: 8.375 kB / 0.5791 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.3986, allocations: 12.38 kB / 0.5791 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.399, allocations: 149.4 kB / 0.5792 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.399, allocations: 192 / 0.5792 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.399, allocations: 3.938 kB / 0.5793 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.399, allocations: 8 kB / 0.5793 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3993, allocations: 147.9 kB / 0.5794 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.4002, allocations: 0.5167 MB / 0.5799 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.4005, allocations: 107.5 kB / 0.58 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4006, allocations: 64.75 kB / 0.5801 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.4007, allocations: 0 / 0.5801 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4007, allocations: 38.5 kB / 0.5801 GB, free: 15.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.4007, allocations: 0 / 0.5801 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004731/0.4012, allocations: 173.5 kB / 0.5803 GB, free: 15.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.4012, allocations: 51.41 kB / 0.5803 GB, free: 15.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.4013, allocations: 117.8 kB / 0.5804 GB, free: 15.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4013, allocations: 37.64 kB / 0.5805 GB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.4014, allocations: 115.7 kB / 0.5806 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4015, allocations: 43.39 kB / 0.5806 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.4015, allocations: 3.938 kB / 0.5806 GB, free: 15.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4016, allocations: 323.8 kB / 0.5809 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4017, allocations: 39.97 kB / 0.581 GB, free: 14.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4019, allocations: 88.81 kB / 0.5811 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.4021, allocations: 137.9 kB / 0.5812 GB, free: 14.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4021, allocations: 0 / 0.5812 GB, free: 14.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003327/0.4025, allocations: 173.9 kB / 0.5814 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4025, allocations: 4 kB / 0.5814 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4025, allocations: 7.938 kB / 0.5814 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4025, allocations: 0 / 0.5814 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.4028, allocations: 52.06 kB / 0.5814 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003531/0.4031, allocations: 0.59 MB / 0.582 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4032, allocations: 15.84 kB / 0.582 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4033, allocations: 15.92 kB / 0.582 GB, free: 13.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.4034, allocations: 125.9 kB / 0.5821 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.4034, allocations: 4 kB / 0.5821 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.4038, allocations: 182.1 kB / 0.5823 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4039, allocations: 4 kB / 0.5823 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4039, allocations: 0 / 0.5823 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4039, allocations: 3.984 kB / 0.5823 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.4041, allocations: 217.5 kB / 0.5825 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4041, allocations: 0 / 0.5825 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.4043, allocations: 39.98 kB / 0.5826 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4043, allocations: 4 kB / 0.5826 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.4044, allocations: 7.984 kB / 0.5826 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000287/0.4047, allocations: 0.5859 MB / 0.5832 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4047, allocations: 4.031 kB / 0.5832 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.4051, allocations: 307.5 kB / 0.5835 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.4052, allocations: 89.03 kB / 0.5835 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.4053, allocations: 4 kB / 0.5835 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4054, allocations: 19.98 kB / 0.5836 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4054, allocations: 15.97 kB / 0.5836 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.4054, allocations: 4 kB / 0.5836 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.4055, allocations: 83.28 kB / 0.5837 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4055, allocations: 0 / 0.5837 GB, free: 11.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004007/0.4059, allocations: 91.77 kB / 0.5837 GB, free: 11.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003481/0.4063, allocations: 215.7 kB / 0.584 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4067, allocations: 144 kB / 0.5841 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4067, allocations: 0 / 0.5841 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.4069, allocations: 75.89 kB / 0.5842 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4072, allocations: 8.219 kB / 0.5842 GB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.4078, allocations: 398.1 kB / 0.5845 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.4081, allocations: 0.7082 MB / 0.5852 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.4082, allocations: 23.44 kB / 0.5853 GB, free: 10.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4082, allocations: 0 / 0.5853 GB, free: 10.1 MB / 410.7 MB Notification: Performance of Templates: time 0.004437/0.4126, allocations: 2.662 MB / 0.5879 GB, free: 7.445 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches