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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002346/0.002346, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.983/1.983, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001125/0.001125, allocations: 96.41 kB / 270.9 MB, free: 8.363 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.523/0.523, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004613, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.58, allocations: 90.99 MB / 0.5676 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/0.5804, allocations: 91.94 kB / 0.5677 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0272/0.6076, allocations: 5.982 MB / 0.5735 GB, free: 5.582 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6076, allocations: 0 / 0.5735 GB, free: 5.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.6077, allocations: 4 kB / 0.5735 GB, free: 5.578 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000774/0.6085, allocations: 0.4903 MB / 0.574 GB, free: 5.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6085, allocations: 8.031 kB / 0.574 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.6108, allocations: 198.8 kB / 0.5742 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.6113, allocations: 270.6 kB / 0.5745 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.6114, allocations: 28.53 kB / 0.5745 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.6115, allocations: 24 kB / 0.5745 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.6131, allocations: 484.5 kB / 0.575 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6132, allocations: 3.562 kB / 0.575 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.6133, allocations: 15.98 kB / 0.575 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.6133, allocations: 25.52 kB / 0.575 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.6156, allocations: 0.5916 MB / 0.5756 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.619, allocations: 1.173 MB / 0.5768 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.6203, allocations: 174.4 kB / 0.5769 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.6204, allocations: 0 / 0.5769 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.6204, allocations: 38.5 kB / 0.577 GB, free: 1.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.6204, allocations: 0 / 0.577 GB, free: 1.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.002264/0.6227, allocations: 313.4 kB / 0.5773 GB, free: 1.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6228, allocations: 51.41 kB / 0.5773 GB, free: 1.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.6232, allocations: 257.6 kB / 0.5776 GB, free: 1.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.6232, allocations: 25.7 kB / 0.5776 GB, free: 1.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.6234, allocations: 221.9 kB / 0.5778 GB, free: 1.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.6235, allocations: 27.66 kB / 0.5778 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.6235, allocations: 0 / 0.5778 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6236, allocations: 322.8 kB / 0.5781 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000676/0.6243, allocations: 87.91 kB / 0.5782 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.625, allocations: 123.3 kB / 0.5783 GB, free: 464 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.6258, allocations: 103.9 kB / 0.5784 GB, free: 360 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6258, allocations: 3.938 kB / 0.5784 GB, free: 356 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001585/0.6274, allocations: 249.4 kB / 0.5787 GB, free: 100 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6274, allocations: 12.08 kB / 0.5787 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.6274, allocations: 2.031 kB / 0.5787 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.6275, allocations: 4 kB / 0.5787 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/0.6376, allocations: 443.4 kB / 0.5791 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.6428, allocations: 1.946 MB / 0.581 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007795/0.6437, allocations: 47.88 kB / 0.581 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.6437, allocations: 15.92 kB / 0.5811 GB, free: 13.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002681/0.644, allocations: 157.7 kB / 0.5812 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.6441, allocations: 15.81 kB / 0.5812 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.774e-05/0.6442, allocations: 25.7 kB / 0.5813 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.6442, allocations: 8 kB / 0.5813 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6442, allocations: 3.984 kB / 0.5813 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6442, allocations: 96 / 0.5813 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.6448, allocations: 297.3 kB / 0.5815 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6448, allocations: 0 / 0.5815 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009962/0.6548, allocations: 440.1 kB / 0.582 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.6548, allocations: 0 / 0.582 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.6549, allocations: 3.984 kB / 0.582 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.66, allocations: 1.949 MB / 0.5839 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.66, allocations: 0 / 0.5839 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.6616, allocations: 323.1 kB / 0.5842 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6617, allocations: 92.91 kB / 0.5843 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.6618, allocations: 0 / 0.5843 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.6625, allocations: 27.97 kB / 0.5843 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6627, allocations: 7.984 kB / 0.5843 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.6627, allocations: 7.984 kB / 0.5843 GB, free: 10.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003209/0.663, allocations: 201.9 kB / 0.5845 GB, free: 9.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6631, allocations: 0 / 0.5845 GB, free: 9.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.6636, allocations: 79.84 kB / 0.5846 GB, free: 9.801 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 (7): * Single equations (assignments): 4 * 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.0003092/0.6639, allocations: 156 kB / 0.5847 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.6742, allocations: 0.5304 MB / 0.5853 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6743, allocations: 192 / 0.5853 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009424/0.6837, allocations: 433.8 kB / 0.5857 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.6842, allocations: 45.52 kB / 0.5857 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.6858, allocations: 0.5522 MB / 0.5862 GB, free: 8.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.6862, allocations: 0.7872 MB / 0.587 GB, free: 7.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.6864, allocations: 15.44 kB / 0.587 GB, free: 7.242 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6864, allocations: 3.938 kB / 0.587 GB, free: 7.238 MB / 410.7 MB Notification: Performance of Templates: time 0.01402/0.7004, allocations: 6.686 MB / 0.5936 GB, free: 0.5703 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches