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.002178/0.002182, 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 2.019/2.019, 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.001096/0.001096, allocations: 91.39 kB / 270.9 MB, free: 8.371 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.5003/0.5003, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 8 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.86 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.591, allocations: 88.88 MB / 0.5656 GB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.5915, allocations: 91.94 kB / 0.5656 GB, free: 13.56 MB / 394.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.02136/0.6129, allocations: 4.283 MB / 0.5698 GB, free: 9.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6129, allocations: 0 / 0.5698 GB, free: 9.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.6129, allocations: 0 / 0.5698 GB, free: 9.312 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007205/0.6137, allocations: 446.5 kB / 0.5702 GB, free: 8.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6137, allocations: 8.031 kB / 0.5703 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.6149, allocations: 107.1 kB / 0.5704 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.6153, allocations: 210.8 kB / 0.5706 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.6153, allocations: 13.48 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.6154, allocations: 15.98 kB / 0.5706 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.6161, allocations: 238.2 kB / 0.5708 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6161, allocations: 3.938 kB / 0.5708 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.6162, allocations: 4 kB / 0.5708 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.6162, allocations: 19.77 kB / 0.5708 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.617, allocations: 236.8 kB / 0.5711 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.6189, allocations: 0.7317 MB / 0.5718 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.6193, allocations: 98.44 kB / 0.5719 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.6193, allocations: 4 kB / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.6193, allocations: 30.56 kB / 0.5719 GB, free: 6.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.6193, allocations: 4 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008647/0.6202, allocations: 177.4 kB / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.6203, allocations: 55.41 kB / 0.5721 GB, free: 6.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.6205, allocations: 176.8 kB / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.6206, allocations: 25.7 kB / 0.5723 GB, free: 6.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.6207, allocations: 205.9 kB / 0.5725 GB, free: 6.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.6208, allocations: 27.8 kB / 0.5725 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.6208, allocations: 4 kB / 0.5726 GB, free: 6.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.621, allocations: 314.8 kB / 0.5729 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.6212, allocations: 55.95 kB / 0.5729 GB, free: 5.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6215, allocations: 99.56 kB / 0.573 GB, free: 5.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.6219, allocations: 71.89 kB / 0.5731 GB, free: 5.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6219, allocations: 0 / 0.5731 GB, free: 5.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006834/0.6226, allocations: 190.3 kB / 0.5733 GB, free: 5.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6226, allocations: 8 kB / 0.5733 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6226, allocations: 0 / 0.5733 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.6227, allocations: 4 kB / 0.5733 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.6243, allocations: 115.2 kB / 0.5734 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.6263, allocations: 1.82 MB / 0.5751 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.6266, allocations: 23.86 kB / 0.5752 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.6266, allocations: 12 kB / 0.5752 GB, free: 3.488 MB / 394.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 (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.0002017/0.6268, allocations: 141.9 kB / 0.5753 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.6269, allocations: 19.8 kB / 0.5753 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.6277, allocations: 190.9 kB / 0.5755 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.6277, allocations: 3.938 kB / 0.5755 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6277, allocations: 0 / 0.5755 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.6278, allocations: 3.984 kB / 0.5755 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.6281, allocations: 229.5 kB / 0.5757 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6282, allocations: 4 kB / 0.5758 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.6295, allocations: 93.02 kB / 0.5758 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6296, allocations: 0 / 0.5758 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.6296, allocations: 11.94 kB / 0.5759 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.6311, allocations: 1.774 MB / 0.5776 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6311, allocations: 0 / 0.5776 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.6318, allocations: 251.6 kB / 0.5778 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.6319, allocations: 92.92 kB / 0.5779 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.6319, allocations: 3.953 kB / 0.5779 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.6322, allocations: 19.98 kB / 0.5779 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.6323, allocations: 11.92 kB / 0.5779 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.6323, allocations: 0 / 0.5779 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.6325, allocations: 136.9 kB / 0.5781 GB, free: 368 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6325, allocations: 4 kB / 0.5781 GB, free: 364 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004413/0.633, allocations: 51.83 kB / 0.5781 GB, free: 312 kB / 394.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 (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.0002611/0.6332, allocations: 128.6 kB / 0.5783 GB, free: 184 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.6353, allocations: 212 kB / 0.5785 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6353, allocations: 0 / 0.5785 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.6365, allocations: 107.9 kB / 0.5786 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.637, allocations: 35.97 kB / 0.5786 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.638, allocations: 424.4 kB / 0.579 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.6385, allocations: 0.7436 MB / 0.5797 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.6386, allocations: 15.44 kB / 0.5797 GB, free: 14.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6386, allocations: 0 / 0.5797 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01057/0.6492, allocations: 4.518 MB / 0.5841 GB, free: 10.12 MB / 410.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