Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001076/0.001076, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00108/0.00108, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9999/0.9999, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2823/0.2823, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.431e-05, allocations: 6.312 kB / 378.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002419/0.002454, allocations: 1.985 MB / 380 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003826, allocations: 1.122 MB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.003901, allocations: 0 / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.004179, allocations: 63.61 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.004351, allocations: 75.45 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.004767, allocations: 175.2 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.005009, allocations: 274.2 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.005059, allocations: 12.92 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.005269, allocations: 135.5 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.00538, allocations: 99.58 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.005397, allocations: 8 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.005655, allocations: 215.6 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.005718, allocations: 59.66 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.005833, allocations: 67.73 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.006216, allocations: 406.4 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006218, allocations: 0 / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006219, allocations: 0 / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.006224, allocations: 4 kB / 382.7 MB, free: 14.25 MB / 362.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.0005464/0.00677, allocations: 0.5978 MB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.006809, allocations: 12.03 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.006886, allocations: 52.75 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.007069, allocations: 180.2 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.007088, allocations: 33.36 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.007115, allocations: 36.31 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.007478, allocations: 356 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.007488, allocations: 0 / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.007511, allocations: 12 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.007551, allocations: 28.98 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.007848, allocations: 185.9 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.008734, allocations: 0.9627 MB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/0.00882, allocations: 70.95 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.008852, allocations: 19.69 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.008871, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.008899, allocations: 41.39 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.0089, allocations: 0 / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001998/0.0091, allocations: 97.72 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.009128, allocations: 63.28 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.009247, allocations: 232.6 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.009257, allocations: 25.7 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.00935, allocations: 270.6 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.009369, allocations: 31.78 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.009422, allocations: 67.31 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.009528, allocations: 0.5 MB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.009563, allocations: 19.98 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.009664, allocations: 198 kB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.009818, allocations: 233.8 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.009821, allocations: 4 kB / 387 MB, free: 9.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002199/0.01004, allocations: 205.1 kB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01005, allocations: 4 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01006, allocations: 4.562 kB / 387.2 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01007, allocations: 12 kB / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.01028, allocations: 87.91 kB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.01129, allocations: 2.699 MB / 390 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.01137, allocations: 31.78 kB / 390 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.01138, allocations: 19.94 kB / 390.1 MB, free: 6.438 MB / 362.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 () * 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.0001025/0.01149, allocations: 172.7 kB / 390.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.01151, allocations: 19.94 kB / 390.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.01173, allocations: 146.1 kB / 390.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01174, allocations: 0 / 390.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01174, allocations: 0 / 390.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01174, allocations: 0 / 390.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.01196, allocations: 244.4 kB / 390.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01196, allocations: 0 / 390.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.01208, allocations: 59.97 kB / 390.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01209, allocations: 0 / 390.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.0121, allocations: 4 kB / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006805/0.01278, allocations: 2.684 MB / 393.4 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01278, allocations: 0 / 393.4 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.01293, allocations: 243.8 kB / 393.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.01294, allocations: 7.906 kB / 393.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.01295, allocations: 8 kB / 393.6 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.01299, allocations: 0 / 393.6 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01303, allocations: 11.92 kB / 393.6 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01304, allocations: 12 kB / 393.7 MB, free: 2.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.01309, allocations: 157.7 kB / 393.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01309, allocations: 0 / 393.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.01338, allocations: 99.61 kB / 393.9 MB, free: 2.438 MB / 362.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.0002114/0.01359, allocations: 151 kB / 394.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.01386, allocations: 144.6 kB / 394.2 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01386, allocations: 0 / 394.2 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.01397, allocations: 80.88 kB / 394.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.01415, allocations: 16.14 kB / 394.3 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.01494, allocations: 458.9 kB / 394.7 MB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.01525, allocations: 107.8 kB / 394.8 MB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.01535, allocations: 57.25 kB / 394.9 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.01539, allocations: 24.5 kB / 394.9 MB, free: 1.355 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01539, allocations: 0 / 394.9 MB, free: 1.355 MB / 362.7 MB Notification: Performance of Templates: time 0.005468/0.02085, allocations: 3.052 MB / 398 MB, free: 14.36 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.334302926901728]