Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 177.9 kB / 17.41 MB, free: 4.383 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.219/1.219, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0006895/0.0006895, allocations: 90.36 kB / 271.9 MB, free: 8.238 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.2982/0.2982, allocations: 43.55 MB / 363.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 12 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 58.85 MB / 491.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2791/0.383, allocations: 89.48 MB / 0.5673 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.3833, allocations: 99.92 kB / 0.5674 GB, free: 12.66 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02217/0.4055, allocations: 7.824 MB / 0.5751 GB, free: 4.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4055, allocations: 0 / 0.5751 GB, free: 4.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.4055, allocations: 4 kB / 0.5751 GB, free: 4.852 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005381/0.4061, allocations: 450.6 kB / 0.5755 GB, free: 4.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4061, allocations: 12.03 kB / 0.5755 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.4067, allocations: 92.61 kB / 0.5756 GB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.407, allocations: 236 kB / 0.5758 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.407, allocations: 9.859 kB / 0.5758 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.4071, allocations: 16.36 kB / 0.5758 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.4077, allocations: 318.6 kB / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4078, allocations: 192 / 0.5762 GB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.4078, allocations: 7.938 kB / 0.5762 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.4078, allocations: 19.98 kB / 0.5762 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.4086, allocations: 331.6 kB / 0.5765 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.41, allocations: 0.8404 MB / 0.5773 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.4107, allocations: 214.3 kB / 0.5775 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.411, allocations: 93.66 kB / 0.5776 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.4111, allocations: 4 kB / 0.5776 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.4111, allocations: 38.55 kB / 0.5777 GB, free: 2.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.306e-06/0.4111, allocations: 96 / 0.5777 GB, free: 2.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001033/0.4122, allocations: 309.1 kB / 0.5779 GB, free: 1.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4122, allocations: 59.28 kB / 0.578 GB, free: 1.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4124, allocations: 189.7 kB / 0.5782 GB, free: 1.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4124, allocations: 25.7 kB / 0.5782 GB, free: 1.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.4125, allocations: 151.3 kB / 0.5784 GB, free: 1.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4126, allocations: 31.5 kB / 0.5784 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.4126, allocations: 4 kB / 0.5784 GB, free: 1.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4127, allocations: 326.8 kB / 0.5787 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.413, allocations: 83.89 kB / 0.5788 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.4133, allocations: 142.8 kB / 0.5789 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.414, allocations: 230.6 kB / 0.5791 GB, free: 404 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.414, allocations: 4 kB / 0.5791 GB, free: 400 kB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007072/0.4147, allocations: 277.1 kB / 0.5794 GB, free: 116 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4147, allocations: 4.219 kB / 0.5794 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4147, allocations: 8 kB / 0.5794 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4148, allocations: 4 kB / 0.5794 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.4152, allocations: 87.8 kB / 0.5795 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00099/0.4162, allocations: 1.789 MB / 0.5812 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.4164, allocations: 27.83 kB / 0.5813 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.4165, allocations: 11.98 kB / 0.5813 GB, free: 14.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.4167, allocations: 141.9 kB / 0.5814 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.4167, allocations: 15.81 kB / 0.5814 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/0.4175, allocations: 283 kB / 0.5817 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4175, allocations: 0 / 0.5817 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4175, allocations: 0 / 0.5817 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4175, allocations: 0 / 0.5817 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4179, allocations: 257.5 kB / 0.582 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4179, allocations: 0 / 0.582 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.4182, allocations: 67.94 kB / 0.582 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4183, allocations: 0 / 0.582 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.4183, allocations: 23.91 kB / 0.582 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009168/0.4192, allocations: 1.781 MB / 0.5838 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4192, allocations: 4.031 kB / 0.5838 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.42, allocations: 319.2 kB / 0.5841 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.42, allocations: 93.05 kB / 0.5842 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.4201, allocations: 7.922 kB / 0.5842 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4203, allocations: 19.98 kB / 0.5842 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.4203, allocations: 7.984 kB / 0.5842 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.4204, allocations: 11.97 kB / 0.5842 GB, free: 10.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.4205, allocations: 136.9 kB / 0.5844 GB, free: 10.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4205, allocations: 0 / 0.5844 GB, free: 10.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.4209, allocations: 71.84 kB / 0.5844 GB, free: 10.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002929/0.4212, allocations: 167.9 kB / 0.5846 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.4221, allocations: 252 kB / 0.5848 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4221, allocations: 0 / 0.5848 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.4225, allocations: 135.8 kB / 0.585 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.4228, allocations: 11.94 kB / 0.585 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.4236, allocations: 453.8 kB / 0.5854 GB, free: 9.707 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4239, allocations: 0.7435 MB / 0.5861 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.424, allocations: 35.38 kB / 0.5862 GB, free: 8.902 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.424, allocations: 0 / 0.5862 GB, free: 8.902 MB / 410.7 MB Notification: Performance of Templates: time 0.006942/0.431, allocations: 5.033 MB / 0.5911 GB, free: 3.875 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches