Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001146/0.001146, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008746/0.0008747, allocations: 96.42 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1757/0.1757, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.492e-06, allocations: 0 / 452.7 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 63.24 MB / 0.5038 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3932, allocations: 94.29 MB / 0.5959 GB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.3935, allocations: 92.94 kB / 0.596 GB, free: 8.512 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5283:11-5295: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 trunk/Fluid/Dissipation.mo:5297:11-5298: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 trunk/Fluid/Dissipation.mo:5301:11-5313: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 trunk/Fluid/Dissipation.mo:5315:11-5316: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.02388/0.4174, allocations: 8.845 MB / 0.6046 GB, free: 1.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4175, allocations: 4 kB / 0.6046 GB, free: 1.062 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.000569/0.418, allocations: 0.5254 MB / 0.6051 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4181, allocations: 8.031 kB / 0.6051 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/0.4181, allocations: 35.62 kB / 0.6052 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4184, allocations: 233.5 kB / 0.6054 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4185, allocations: 12 kB / 0.6054 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.4185, allocations: 24 kB / 0.6054 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005214/0.419, allocations: 397.2 kB / 0.6058 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.4196, allocations: 417.1 kB / 0.6062 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4196, allocations: 0 / 0.6062 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4196, allocations: 0 / 0.6062 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.4196, allocations: 24.77 kB / 0.6062 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.4211, allocations: 1.134 MB / 0.6073 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.4212, allocations: 73.23 kB / 0.6074 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.4212, allocations: 23.91 kB / 0.6074 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4213, allocations: 4 kB / 0.6074 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4213, allocations: 34 kB / 0.6075 GB, free: 14.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.4213, allocations: 3.938 kB / 0.6075 GB, free: 14.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002494/0.4216, allocations: 88.27 kB / 0.6075 GB, free: 14.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.4216, allocations: 55.31 kB / 0.6076 GB, free: 14.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4218, allocations: 158.7 kB / 0.6077 GB, free: 14.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4218, allocations: 25.7 kB / 0.6078 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4219, allocations: 215.9 kB / 0.608 GB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.4219, allocations: 27.55 kB / 0.608 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.422, allocations: 0 / 0.608 GB, free: 13.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4221, allocations: 321.8 kB / 0.6083 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.4222, allocations: 39.55 kB / 0.6084 GB, free: 13.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4223, allocations: 151.9 kB / 0.6085 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.4224, allocations: 71.7 kB / 0.6086 GB, free: 13.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4224, allocations: 0 / 0.6086 GB, free: 13.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003466/0.4228, allocations: 198.8 kB / 0.6088 GB, free: 12.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4228, allocations: 4 kB / 0.6088 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4228, allocations: 4 kB / 0.6088 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.4229, allocations: 8 kB / 0.6088 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.4232, allocations: 87.88 kB / 0.6089 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.4243, allocations: 1.794 MB / 0.6106 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.4244, allocations: 39.95 kB / 0.6106 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.4245, allocations: 12 kB / 0.6107 GB, free: 10.97 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.0001025/0.4246, allocations: 115.9 kB / 0.6108 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.4246, allocations: 7.906 kB / 0.6108 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.4252, allocations: 223.6 kB / 0.611 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4252, allocations: 0 / 0.611 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4252, allocations: 4 kB / 0.611 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4252, allocations: 0 / 0.611 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.4255, allocations: 222 kB / 0.6112 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4255, allocations: 7.922 kB / 0.6112 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4258, allocations: 59.95 kB / 0.6113 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.4258, allocations: 7.906 kB / 0.6113 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4258, allocations: 4 kB / 0.6113 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.4269, allocations: 1.787 MB / 0.613 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4269, allocations: 0 / 0.613 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002141/0.4271, allocations: 201.1 kB / 0.6132 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.4272, allocations: 89 kB / 0.6133 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.4272, allocations: 3.906 kB / 0.6133 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.4273, allocations: 16.08 kB / 0.6133 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.4274, allocations: 4 kB / 0.6133 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4274, allocations: 7.984 kB / 0.6133 GB, free: 8.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.203e-05/0.4275, allocations: 115.2 kB / 0.6134 GB, free: 8.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.428, allocations: 98.91 kB / 0.6135 GB, free: 7.949 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.0003223/0.4283, allocations: 173.8 kB / 0.6137 GB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.4288, allocations: 154.9 kB / 0.6138 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4288, allocations: 0 / 0.6138 GB, free: 7.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.4291, allocations: 79.12 kB / 0.6139 GB, free: 7.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.4294, allocations: 15.11 kB / 0.6139 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.43, allocations: 293.6 kB / 0.6142 GB, free: 7.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.4304, allocations: 0.8278 MB / 0.615 GB, free: 6.41 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4304, allocations: 3.938 kB / 0.615 GB, free: 6.406 MB / 410.7 MB Notification: Performance of Templates: time 0.006715/0.4371, allocations: 3.139 MB / 0.6181 GB, free: 3.32 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches