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.001432/0.001432, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00152/0.00152, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9716/0.9716, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.13/0.13, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.423e-06/1.423e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.821e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001962/0.001981, allocations: 1.97 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003059, allocations: 1.098 MB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.003127, allocations: 4 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.003366, allocations: 59.56 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.003528, allocations: 87.44 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.003862, allocations: 163.2 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.004046, allocations: 274.2 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.004093, allocations: 16.92 kB / 381 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.004275, allocations: 139.5 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.004388, allocations: 99.59 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.004404, allocations: 8 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.004643, allocations: 215.6 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.004696, allocations: 55.66 kB / 381.5 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.00475, allocations: 71.72 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.005071, allocations: 398.5 kB / 381.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005073, allocations: 0 / 381.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005074, allocations: 0 / 381.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.005078, allocations: 4 kB / 381.9 MB, free: 20.89 MB / 314.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.0004684/0.005546, allocations: 0.6094 MB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.00558, allocations: 19.97 kB / 382.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.005635, allocations: 52.75 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.005768, allocations: 164.2 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.005786, allocations: 37.28 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.005807, allocations: 32.38 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.00606, allocations: 324 kB / 383.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.006071, allocations: 0 / 383.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.006087, allocations: 19.97 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.006119, allocations: 28.98 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.006226, allocations: 142.9 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.006905, allocations: 0.9183 MB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.006967, allocations: 54.98 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.006989, allocations: 15.69 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.007005, allocations: 4 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.00702, allocations: 41.38 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.007021, allocations: 0 / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001495/0.007171, allocations: 89.67 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.00719, allocations: 63.34 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.007263, allocations: 228.6 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.00727, allocations: 25.7 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.007335, allocations: 282.5 kB / 385.1 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.007348, allocations: 23.8 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.007396, allocations: 67.28 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.00744, allocations: 0.4962 MB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.007463, allocations: 15.98 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.007525, allocations: 190 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.007632, allocations: 253.9 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.007636, allocations: 4 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001637/0.007799, allocations: 185.5 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.007811, allocations: 4 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.007817, allocations: 4 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007828, allocations: 8 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.008019, allocations: 87.84 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003746/0.008393, allocations: 2.7 MB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.008469, allocations: 27.84 kB / 389.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.008481, allocations: 12 kB / 389.1 MB, free: 13.25 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 7.433e-05/0.008555, allocations: 182.3 kB / 389.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.008577, allocations: 15.95 kB / 389.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.00875, allocations: 149 kB / 389.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.008752, allocations: 0 / 389.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.008753, allocations: 0 / 389.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.008757, allocations: 0 / 389.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.008881, allocations: 177 kB / 389.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.008884, allocations: 8 kB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.008985, allocations: 55.98 kB / 389.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008988, allocations: 0 / 389.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.008994, allocations: 4 kB / 389.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003104/0.009305, allocations: 2.691 MB / 392.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009305, allocations: 0 / 392.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.009393, allocations: 235.7 kB / 392.6 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.009404, allocations: 16.09 kB / 392.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.009416, allocations: 0 / 392.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.009454, allocations: 3.984 kB / 392.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.009484, allocations: 15.94 kB / 392.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.009492, allocations: 11.98 kB / 392.7 MB, free: 9.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.009519, allocations: 146.4 kB / 392.8 MB, free: 9.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.009519, allocations: 0 / 392.8 MB, free: 9.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.009769, allocations: 103.6 kB / 392.9 MB, free: 9.324 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.0001608/0.009929, allocations: 143.1 kB / 393 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01013, allocations: 143.9 kB / 393.2 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01013, allocations: 0 / 393.2 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.01022, allocations: 75.59 kB / 393.3 MB, free: 8.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01039, allocations: 20.58 kB / 393.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.01097, allocations: 452.1 kB / 393.7 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01101, allocations: 111.8 kB / 393.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.478e-05/0.01109, allocations: 41.23 kB / 393.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.01113, allocations: 86.2 kB / 394 MB, free: 8.203 MB / 314.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01113, allocations: 0 / 394 MB, free: 8.203 MB / 314.7 MB Notification: Performance of Templates: time 0.004874/0.016, allocations: 3.504 MB / 397.5 MB, free: 4.766 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 -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: 3.303936918731779]