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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001646, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001054/0.001054, allocations: 98.56 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2886/0.2886, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.362e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 58.84 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5576/0.6729, allocations: 88.78 MB / 0.5595 GB, free: 14.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005761/0.6736, allocations: 98.16 kB / 0.5596 GB, free: 14.79 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489:129: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:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03368/0.7073, allocations: 4.268 MB / 0.5638 GB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7073, allocations: 0 / 0.5638 GB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.7074, allocations: 4 kB / 0.5638 GB, free: 11.1 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001017/0.7084, allocations: 429.7 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/0.7085, allocations: 8.031 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.7105, allocations: 103.5 kB / 0.5643 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.7111, allocations: 214.6 kB / 0.5645 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.7111, allocations: 11.88 kB / 0.5645 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.7112, allocations: 15.62 kB / 0.5645 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.7118, allocations: 219.2 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.7118, allocations: 0 / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.7119, allocations: 3.812 kB / 0.5647 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.7119, allocations: 15.78 kB / 0.5648 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.7125, allocations: 197.9 kB / 0.5649 GB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.7144, allocations: 0.7371 MB / 0.5657 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.7147, allocations: 82.05 kB / 0.5657 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.7148, allocations: 32.72 kB / 0.5658 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.7149, allocations: 8 kB / 0.5658 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.7149, allocations: 38.38 kB / 0.5658 GB, free: 9.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.7149, allocations: 0 / 0.5658 GB, free: 9.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003946/0.7153, allocations: 98.41 kB / 0.5659 GB, free: 8.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.7154, allocations: 51.41 kB / 0.566 GB, free: 8.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.7157, allocations: 173.4 kB / 0.5661 GB, free: 8.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.7157, allocations: 29.7 kB / 0.5662 GB, free: 8.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.7158, allocations: 205.5 kB / 0.5663 GB, free: 8.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.7159, allocations: 27.59 kB / 0.5664 GB, free: 8.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.7159, allocations: 3.812 kB / 0.5664 GB, free: 8.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7161, allocations: 322.8 kB / 0.5667 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.7162, allocations: 31.55 kB / 0.5667 GB, free: 8.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.7164, allocations: 88.03 kB / 0.5668 GB, free: 8.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.7166, allocations: 55.83 kB / 0.5669 GB, free: 7.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7166, allocations: 0 / 0.5669 GB, free: 7.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004444/0.717, allocations: 164.7 kB / 0.567 GB, free: 7.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.7171, allocations: 4 kB / 0.567 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7171, allocations: 4 kB / 0.567 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.7171, allocations: 4 kB / 0.567 GB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.7187, allocations: 103.9 kB / 0.5671 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.7207, allocations: 1.823 MB / 0.5689 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.721, allocations: 27.83 kB / 0.5689 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.721, allocations: 7.125 kB / 0.5689 GB, free: 5.793 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001136/0.7212, allocations: 113.7 kB / 0.569 GB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.7212, allocations: 19.75 kB / 0.5691 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.7218, allocations: 158.2 kB / 0.5692 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7218, allocations: 0 / 0.5692 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7218, allocations: 4 kB / 0.5692 GB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7218, allocations: 0 / 0.5692 GB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.7222, allocations: 225.4 kB / 0.5694 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.7222, allocations: 11.94 kB / 0.5694 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.7236, allocations: 90.97 kB / 0.5695 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.7236, allocations: 3.953 kB / 0.5695 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.7237, allocations: 7.625 kB / 0.5695 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.7251, allocations: 1.769 MB / 0.5713 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.7251, allocations: 3.938 kB / 0.5713 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.7255, allocations: 224.1 kB / 0.5715 GB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.7256, allocations: 88.95 kB / 0.5716 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.7257, allocations: 11 kB / 0.5716 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.7259, allocations: 8 kB / 0.5716 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.726, allocations: 7.984 kB / 0.5716 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.726, allocations: 7.688 kB / 0.5716 GB, free: 2.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.7262, allocations: 134.7 kB / 0.5717 GB, free: 2.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7262, allocations: 0 / 0.5717 GB, free: 2.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.7267, allocations: 51.39 kB / 0.5718 GB, free: 2.816 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0002832/0.727, allocations: 131.1 kB / 0.5719 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.7287, allocations: 164 kB / 0.5721 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7287, allocations: 0 / 0.5721 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.7298, allocations: 91.34 kB / 0.5722 GB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.7303, allocations: 48.02 kB / 0.5722 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.7311, allocations: 235.6 kB / 0.5724 GB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.7314, allocations: 0.7473 MB / 0.5732 GB, free: 1.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.7315, allocations: 15.44 kB / 0.5732 GB, free: 1.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7316, allocations: 0 / 0.5732 GB, free: 1.395 MB / 378.7 MB Notification: Performance of Templates: time 0.01048/0.742, allocations: 4.525 MB / 0.5776 GB, free: 12.88 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches