Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009088/0.0009087, allocations: 192.3 kB / 7.804 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9984/0.9984, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008038/0.0008038, allocations: 87.31 kB / 261.4 MB, free: 13.55 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.1487/0.1487, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-06/4.939e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3018, allocations: 92.1 MB / 0.5554 GB, free: 6.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3021, allocations: 95.92 kB / 0.5554 GB, free: 6.738 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd: time 0.0215/0.3236, allocations: 8.604 MB / 0.5639 GB, free: 14.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3236, allocations: 4 kB / 0.5639 GB, free: 14 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0005106/0.3241, allocations: 0.5179 MB / 0.5644 GB, free: 13.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3242, allocations: 11.97 kB / 0.5644 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.3243, allocations: 31.62 kB / 0.5644 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.3245, allocations: 234.7 kB / 0.5646 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3245, allocations: 15.98 kB / 0.5646 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.3246, allocations: 24 kB / 0.5647 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004667/0.3251, allocations: 389.3 kB / 0.565 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.3256, allocations: 417.3 kB / 0.5654 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3256, allocations: 3.938 kB / 0.5654 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3256, allocations: 0 / 0.5654 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.3256, allocations: 24.77 kB / 0.5655 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3269, allocations: 1.124 MB / 0.5666 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.327, allocations: 62.55 kB / 0.5666 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.327, allocations: 28.84 kB / 0.5666 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.3271, allocations: 4 kB / 0.5667 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3271, allocations: 34.56 kB / 0.5667 GB, free: 10.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3271, allocations: 3.938 kB / 0.5667 GB, free: 10.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000227/0.3273, allocations: 97.66 kB / 0.5668 GB, free: 10.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.3274, allocations: 55.31 kB / 0.5668 GB, free: 10.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3275, allocations: 153.4 kB / 0.567 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3275, allocations: 29.7 kB / 0.567 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.3276, allocations: 207.4 kB / 0.5672 GB, free: 10.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.3276, allocations: 31.55 kB / 0.5672 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.3276, allocations: 4 kB / 0.5672 GB, free: 10.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.3277, allocations: 318.8 kB / 0.5675 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.3278, allocations: 35.98 kB / 0.5676 GB, free: 9.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3279, allocations: 158.5 kB / 0.5677 GB, free: 9.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.328, allocations: 68.23 kB / 0.5678 GB, free: 9.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.328, allocations: 4 kB / 0.5678 GB, free: 9.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002779/0.3283, allocations: 197.8 kB / 0.568 GB, free: 9.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3283, allocations: 4 kB / 0.568 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3283, allocations: 4 kB / 0.568 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3283, allocations: 8 kB / 0.568 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.3287, allocations: 91.81 kB / 0.5681 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008217/0.3295, allocations: 1.793 MB / 0.5698 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3297, allocations: 43.95 kB / 0.5699 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3297, allocations: 12 kB / 0.5699 GB, free: 7.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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 9.091e-05/0.3298, allocations: 110.3 kB / 0.57 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.3299, allocations: 11.89 kB / 0.57 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.3304, allocations: 233.4 kB / 0.5702 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3304, allocations: 0 / 0.5702 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3304, allocations: 4 kB / 0.5702 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3304, allocations: 4 kB / 0.5702 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3306, allocations: 226.1 kB / 0.5705 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3307, allocations: 0 / 0.5705 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.3309, allocations: 59.95 kB / 0.5705 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3309, allocations: 7.906 kB / 0.5705 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3309, allocations: 7.938 kB / 0.5705 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007383/0.3317, allocations: 1.785 MB / 0.5723 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3317, allocations: 0 / 0.5723 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000164/0.3318, allocations: 195.3 kB / 0.5725 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.3319, allocations: 88.95 kB / 0.5725 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3319, allocations: 3.906 kB / 0.5725 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.332, allocations: 16.08 kB / 0.5726 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.3321, allocations: 4 kB / 0.5726 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3321, allocations: 11.97 kB / 0.5726 GB, free: 4.527 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.653e-05/0.3322, allocations: 107.3 kB / 0.5727 GB, free: 4.422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.3326, allocations: 99.53 kB / 0.5728 GB, free: 4.324 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 (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.0002823/0.3329, allocations: 179.1 kB / 0.5729 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.3333, allocations: 152.9 kB / 0.5731 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3333, allocations: 0 / 0.5731 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.3336, allocations: 79.94 kB / 0.5732 GB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3337, allocations: 5.422 kB / 0.5732 GB, free: 3.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.3342, allocations: 303.9 kB / 0.5735 GB, free: 3.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.3346, allocations: 0.825 MB / 0.5743 GB, free: 2.734 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3346, allocations: 0 / 0.5743 GB, free: 2.734 MB / 410.7 MB Notification: Performance of Templates: time 0.005705/0.3403, allocations: 3.131 MB / 0.5773 GB, free: 15.63 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches