Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.4 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008625/0.0008626, allocations: 88.05 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1859/0.1859, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.53e-05, allocations: 4 kB / 451.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.4925, allocations: 89.9 MB / 0.5895 GB, free: 15.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.4929, allocations: 91.94 kB / 0.5896 GB, free: 15.32 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5404:11-5405: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 4.0.0+maint.om/Fluid/Dissipation.mo:5412:11-5413: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.01291/0.5058, allocations: 4.362 MB / 0.5939 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5058, allocations: 0 / 0.5939 GB, free: 10.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.5058, allocations: 8 kB / 0.5939 GB, free: 10.96 MB / 410.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.0004777/0.5063, allocations: 429.9 kB / 0.5943 GB, free: 10.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5064, allocations: 8.031 kB / 0.5943 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.5071, allocations: 103.7 kB / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.5073, allocations: 206.9 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.5073, allocations: 12 kB / 0.5946 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.5074, allocations: 19.94 kB / 0.5946 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.5077, allocations: 221.1 kB / 0.5948 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5077, allocations: 3.984 kB / 0.5948 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.5078, allocations: 4 kB / 0.5948 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.5078, allocations: 15.94 kB / 0.5948 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.5081, allocations: 195.9 kB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.5093, allocations: 0.7402 MB / 0.5958 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.5094, allocations: 82.52 kB / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.5095, allocations: 32.78 kB / 0.5959 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5095, allocations: 4 kB / 0.5959 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.5096, allocations: 34.56 kB / 0.5959 GB, free: 8.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5096, allocations: 0 / 0.5959 GB, free: 8.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002705/0.5098, allocations: 101.5 kB / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5099, allocations: 51.41 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.5101, allocations: 179.5 kB / 0.5962 GB, free: 8.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.5101, allocations: 33.7 kB / 0.5963 GB, free: 8.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.5102, allocations: 131.7 kB / 0.5964 GB, free: 8.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.5103, allocations: 31.7 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5103, allocations: 0 / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5104, allocations: 322.8 kB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.5105, allocations: 35.97 kB / 0.5968 GB, free: 7.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.5106, allocations: 90.78 kB / 0.5968 GB, free: 7.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/0.5107, allocations: 47.95 kB / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5107, allocations: 0 / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002413/0.5109, allocations: 162.3 kB / 0.597 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.511, allocations: 7.938 kB / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.511, allocations: 0 / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.511, allocations: 4 kB / 0.597 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.5119, allocations: 108.1 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.5133, allocations: 1.828 MB / 0.5989 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.5134, allocations: 23.78 kB / 0.599 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.5134, allocations: 11.98 kB / 0.599 GB, free: 5.379 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 () * 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 7.567e-05/0.5135, allocations: 107 kB / 0.5991 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.5136, allocations: 16 kB / 0.5991 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.5139, allocations: 154.9 kB / 0.5992 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5139, allocations: 0 / 0.5992 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5139, allocations: 7.953 kB / 0.5992 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5139, allocations: 0 / 0.5992 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.5142, allocations: 225.6 kB / 0.5995 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5142, allocations: 0 / 0.5995 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.5149, allocations: 99.88 kB / 0.5996 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5149, allocations: 0 / 0.5996 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5149, allocations: 0 / 0.5996 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.5158, allocations: 1.781 MB / 0.6013 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5158, allocations: 4.281 kB / 0.6013 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.5161, allocations: 223.2 kB / 0.6015 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.5161, allocations: 92.95 kB / 0.6016 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.5162, allocations: 4 kB / 0.6016 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.5163, allocations: 11.98 kB / 0.6016 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5164, allocations: 7.984 kB / 0.6016 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5164, allocations: 4 kB / 0.6016 GB, free: 2.488 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.5166, allocations: 139.9 kB / 0.6018 GB, free: 2.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5166, allocations: 0 / 0.6018 GB, free: 2.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003046/0.5169, allocations: 55.84 kB / 0.6018 GB, free: 2.297 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 () * 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.000196/0.5171, allocations: 133.8 kB / 0.6019 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009168/0.518, allocations: 164.2 kB / 0.6021 GB, free: 2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.518, allocations: 4 kB / 0.6021 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.5186, allocations: 87.84 kB / 0.6022 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.5189, allocations: 44.33 kB / 0.6022 GB, free: 1.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.5193, allocations: 215.8 kB / 0.6024 GB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.5196, allocations: 0.7513 MB / 0.6032 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.5197, allocations: 29.19 kB / 0.6032 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.5198, allocations: 15.44 kB / 0.6032 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5198, allocations: 0 / 0.6032 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of Templates: time 0.005834/0.5256, allocations: 3.111 MB / 0.6062 GB, free: 13.77 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches