Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002522, allocations: 177.1 kB / 8.151 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0025/0.002499, allocations: 89.92 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2841/0.2841, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.254e-05/1.302e-05, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 58.83 MB / 476.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.474, allocations: 92.11 MB / 0.5553 GB, free: 6.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/0.4744, allocations: 99.91 kB / 0.5554 GB, free: 6.875 MB / 394.7 MB [/var/lib/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. [/var/lib/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). [/var/lib/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. [/var/lib/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.03893/0.5133, allocations: 8.6 MB / 0.5638 GB, free: 14.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.5134, allocations: 8 kB / 0.5638 GB, free: 14.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.0008523/0.5143, allocations: 0.514 MB / 0.5643 GB, free: 13.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5143, allocations: 11.97 kB / 0.5644 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.5144, allocations: 31.62 kB / 0.5644 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.5148, allocations: 238.7 kB / 0.5646 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5149, allocations: 12 kB / 0.5646 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.5149, allocations: 20 kB / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008892/0.5158, allocations: 393.3 kB / 0.565 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008931/0.5167, allocations: 417.3 kB / 0.5654 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5168, allocations: 3.938 kB / 0.5654 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.5168, allocations: 0 / 0.5654 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.5169, allocations: 28.7 kB / 0.5655 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.5191, allocations: 1.132 MB / 0.5666 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.5193, allocations: 58.55 kB / 0.5666 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.5194, allocations: 28.84 kB / 0.5666 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.5194, allocations: 4.156 kB / 0.5666 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.5195, allocations: 30.56 kB / 0.5667 GB, free: 11.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.5195, allocations: 3.938 kB / 0.5667 GB, free: 11.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003827/0.5199, allocations: 105.5 kB / 0.5668 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5199, allocations: 63.3 kB / 0.5668 GB, free: 10.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.5201, allocations: 141.4 kB / 0.567 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.5202, allocations: 29.7 kB / 0.567 GB, free: 10.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.5203, allocations: 277.8 kB / 0.5673 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.5204, allocations: 31.55 kB / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.5204, allocations: 0 / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5206, allocations: 318.8 kB / 0.5676 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.5207, allocations: 39.97 kB / 0.5676 GB, free: 10 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.5209, allocations: 155.1 kB / 0.5678 GB, free: 9.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.5211, allocations: 72.22 kB / 0.5679 GB, free: 9.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5211, allocations: 4 kB / 0.5679 GB, free: 9.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004802/0.5216, allocations: 189.5 kB / 0.568 GB, free: 9.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5216, allocations: 4 kB / 0.568 GB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5216, allocations: 4 kB / 0.568 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.5217, allocations: 8 kB / 0.5681 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.5223, allocations: 87.88 kB / 0.5681 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.5237, allocations: 1.801 MB / 0.5699 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.5239, allocations: 23.83 kB / 0.5699 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.5239, allocations: 12 kB / 0.5699 GB, free: 7.508 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 0.0001209/0.5241, allocations: 46.42 kB / 0.57 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.5241, allocations: 11.91 kB / 0.57 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009721/0.5251, allocations: 225.5 kB / 0.5702 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5252, allocations: 4 kB / 0.5702 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5252, allocations: 0 / 0.5702 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5252, allocations: 0 / 0.5702 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.5256, allocations: 230.1 kB / 0.5704 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5256, allocations: 0 / 0.5704 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.5261, allocations: 71.94 kB / 0.5705 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.5261, allocations: 0 / 0.5705 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5262, allocations: 7.938 kB / 0.5705 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.5274, allocations: 1.785 MB / 0.5722 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5274, allocations: 0 / 0.5722 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003084/0.5277, allocations: 195.3 kB / 0.5724 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.5278, allocations: 93.12 kB / 0.5725 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5279, allocations: 7.938 kB / 0.5725 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.5281, allocations: 4 kB / 0.5725 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.5281, allocations: 11.98 kB / 0.5725 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.5282, allocations: 4 kB / 0.5725 GB, free: 4.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001149/0.5283, allocations: 115.2 kB / 0.5727 GB, free: 4.566 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.5289, allocations: 95.62 kB / 0.5727 GB, free: 4.473 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.0004088/0.5293, allocations: 175.1 kB / 0.5729 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007544/0.5301, allocations: 156.5 kB / 0.5731 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5301, allocations: 0 / 0.5731 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.5306, allocations: 75.94 kB / 0.5731 GB, free: 4.062 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.5309, allocations: 16.16 kB / 0.5732 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000879/0.5318, allocations: 322.3 kB / 0.5735 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/0.5324, allocations: 0.825 MB / 0.5743 GB, free: 2.852 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5324, allocations: 0 / 0.5743 GB, free: 2.852 MB / 410.7 MB Notification: Performance of Templates: time 0.01373/0.5461, allocations: 6.802 MB / 0.5809 GB, free: 12.04 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches