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.00149/0.001494, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001111/0.001111, allocations: 91.41 kB / 270.9 MB, free: 8.375 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.5008/0.5008, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004565, allocations: 12 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.578, allocations: 93.02 MB / 0.5696 GB, free: 9.531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.5785, allocations: 91.94 kB / 0.5697 GB, free: 9.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03854/0.617, allocations: 7.715 MB / 0.5772 GB, free: 1.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6171, allocations: 0 / 0.5772 GB, free: 1.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.6171, allocations: 0 / 0.5772 GB, free: 1.746 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.0007034/0.6178, allocations: 446.4 kB / 0.5776 GB, free: 1.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6179, allocations: 8.031 kB / 0.5776 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.6179, allocations: 23.19 kB / 0.5777 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6181, allocations: 175 kB / 0.5778 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.6181, allocations: 8 kB / 0.5778 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.6182, allocations: 12 kB / 0.5778 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.6186, allocations: 148.8 kB / 0.578 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6186, allocations: 0.75 kB / 0.578 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.6187, allocations: 4 kB / 0.578 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.6187, allocations: 4 kB / 0.578 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.6192, allocations: 144.9 kB / 0.5781 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.6205, allocations: 0.5401 MB / 0.5787 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.6208, allocations: 102.6 kB / 0.5788 GB, free: 0 / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.6209, allocations: 0 / 0.5788 GB, free: 0 / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.621, allocations: 38.83 kB / 0.5788 GB, free: 15.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.644e-06/0.621, allocations: 7.875 kB / 0.5788 GB, free: 15.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007627/0.6218, allocations: 173.5 kB / 0.579 GB, free: 15.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6218, allocations: 55.41 kB / 0.579 GB, free: 15.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.6219, allocations: 109.1 kB / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.622, allocations: 25.7 kB / 0.5792 GB, free: 15.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.6221, allocations: 178.2 kB / 0.5793 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.6221, allocations: 47.38 kB / 0.5794 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.6221, allocations: 0 / 0.5794 GB, free: 15.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6223, allocations: 327.7 kB / 0.5797 GB, free: 15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.6225, allocations: 43.97 kB / 0.5797 GB, free: 14.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.6227, allocations: 85.11 kB / 0.5798 GB, free: 14.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.623, allocations: 51.92 kB / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.623, allocations: 0 / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005694/0.6236, allocations: 165.4 kB / 0.58 GB, free: 14.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.6236, allocations: 8 kB / 0.58 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6237, allocations: 0 / 0.58 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6237, allocations: 4 kB / 0.58 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.6241, allocations: 47.89 kB / 0.5801 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004137/0.6245, allocations: 0.5901 MB / 0.5806 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.6247, allocations: 23.81 kB / 0.5807 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.6248, allocations: 11.94 kB / 0.5807 GB, free: 13.93 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.0001303/0.6249, allocations: 121.8 kB / 0.5808 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.6249, allocations: 8 kB / 0.5808 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000695/0.6257, allocations: 187.7 kB / 0.581 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6257, allocations: 3.938 kB / 0.581 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6257, allocations: 4.812 kB / 0.581 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.6257, allocations: 0 / 0.581 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.6261, allocations: 217.4 kB / 0.5812 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6261, allocations: 0 / 0.5812 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.6265, allocations: 43.95 kB / 0.5812 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.6265, allocations: 0 / 0.5812 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.6265, allocations: 16 kB / 0.5813 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003563/0.6269, allocations: 0.5859 MB / 0.5818 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6269, allocations: 2.266 kB / 0.5818 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.6277, allocations: 303.5 kB / 0.5821 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.6278, allocations: 97.02 kB / 0.5822 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.6279, allocations: 4 kB / 0.5822 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.6281, allocations: 8 kB / 0.5822 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.6281, allocations: 19.98 kB / 0.5822 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.6282, allocations: 8 kB / 0.5822 GB, free: 12.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.6283, allocations: 95.2 kB / 0.5823 GB, free: 12.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6283, allocations: 0 / 0.5823 GB, free: 12.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.6288, allocations: 83.78 kB / 0.5824 GB, free: 12.03 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.0004562/0.6293, allocations: 203 kB / 0.5826 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.6299, allocations: 136.2 kB / 0.5827 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.63, allocations: 0 / 0.5827 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.6303, allocations: 75.89 kB / 0.5828 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.6306, allocations: 11.94 kB / 0.5828 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.6315, allocations: 395.7 kB / 0.5832 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.6318, allocations: 0.716 MB / 0.5839 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.6319, allocations: 15.44 kB / 0.5839 GB, free: 10.43 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6319, allocations: 0 / 0.5839 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Templates: time 0.006985/0.6389, allocations: 2.717 MB / 0.5866 GB, free: 7.73 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