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_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 80.92 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 171.8 kB / 24.91 MB, free: 9.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9545/0.9545, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2911/0.2911, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,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.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_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=5050,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.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.462e-05, allocations: 2.312 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003465/0.00349, allocations: 2.033 MB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.005281, allocations: 1.121 MB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.005372, allocations: 0 / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.005664, allocations: 75.53 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.005871, allocations: 75.47 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.006308, allocations: 155.2 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.006609, allocations: 278.2 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.006664, allocations: 14.91 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.00694, allocations: 147.4 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.007094, allocations: 99.59 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.007114, allocations: 8 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.007513, allocations: 215.7 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.007597, allocations: 59.66 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.007679, allocations: 71.72 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.00819, allocations: 394.5 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008192, allocations: 4 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008193, allocations: 0 / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.008199, allocations: 0 / 328 MB, free: 4.883 MB / 298.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.0005554/0.008754, allocations: 485.5 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.008786, allocations: 8.031 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.00886, allocations: 52.89 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.009046, allocations: 153.4 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.009071, allocations: 29.38 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.009106, allocations: 32.31 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.009513, allocations: 329.1 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.009525, allocations: 4 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.009546, allocations: 16 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.009591, allocations: 28.98 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.009791, allocations: 149.8 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.01082, allocations: 0.7572 MB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.01089, allocations: 46.42 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.01092, allocations: 12.86 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01094, allocations: 4 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.01096, allocations: 30.56 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.01096, allocations: 4 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001534/0.01112, allocations: 65.67 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.01114, allocations: 55.34 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.01126, allocations: 170.5 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.01128, allocations: 25.7 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.01138, allocations: 227.9 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.01141, allocations: 23.8 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.01147, allocations: 49.64 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.01156, allocations: 326.8 kB / 331.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.01159, allocations: 19.92 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.01169, allocations: 138.9 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.01186, allocations: 178.8 kB / 331.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01186, allocations: 7.938 kB / 331.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002038/0.01207, allocations: 157.2 kB / 331.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01208, allocations: 11.94 kB / 331.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01209, allocations: 4 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.01211, allocations: 4 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.01235, allocations: 67.91 kB / 331.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007317/0.01308, allocations: 1.775 MB / 333.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.0132, allocations: 31.78 kB / 333.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01321, allocations: 8 kB / 333.4 MB, free: 15.08 MB / 314.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 (NominalMassFlowRate,m_flow_IN_con[1].target,m_flow_IN_con[2].target,m_flow_IN_con[3].target,dp_IN_con[1].target,dp_IN_con[2].target,dp_IN_con[3].target) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.01333, allocations: 147.2 kB / 333.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.01336, allocations: 4 kB / 333.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.01361, allocations: 124.9 kB / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01361, allocations: 0 / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01361, allocations: 0 / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01361, allocations: 4 kB / 333.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.01379, allocations: 121.7 kB / 333.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.01379, allocations: 4 kB / 333.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.01393, allocations: 39.98 kB / 333.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01394, allocations: 0 / 333.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01395, allocations: 4 kB / 333.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006592/0.01461, allocations: 1.77 MB / 335.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01461, allocations: 4.469 kB / 335.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.01473, allocations: 166.2 kB / 335.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.01474, allocations: 7.953 kB / 335.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01476, allocations: 0 / 335.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.01483, allocations: 4 kB / 335.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.01487, allocations: 11.98 kB / 335.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.01487, allocations: 0 / 335.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.01491, allocations: 32.69 kB / 335.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01491, allocations: 0 / 335.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004107/0.01532, allocations: 103.6 kB / 336 MB, free: 12.43 MB / 314.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.01557, allocations: 124.3 kB / 336.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.01587, allocations: 120.5 kB / 336.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.01588, allocations: 4.75 kB / 336.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.01602, allocations: 52.77 kB / 336.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01623, allocations: 20.12 kB / 336.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.01733, allocations: 470.5 kB / 336.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.01741, allocations: 103.8 kB / 336.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.01752, allocations: 42.5 kB / 336.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.01758, allocations: 63.36 kB / 337 MB, free: 11.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01759, allocations: 4 kB / 337 MB, free: 11.39 MB / 314.7 MB Notification: Performance of Templates: time 0.0075/0.02509, allocations: 3.434 MB / 340.4 MB, free: 8.035 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9970857338048518]