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.0009558/0.0009558, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001143/0.001143, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9234/0.9234, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1876/0.1876, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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.483e-06/1.483e-06, allocations: 0 / 325.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.348e-05, allocations: 4.984 kB / 325.3 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002521/0.002545, allocations: 2.025 MB / 327.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.004086, allocations: 1.117 MB / 328.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.004166, allocations: 0 / 328.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.004458, allocations: 71.53 kB / 328.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.004636, allocations: 79.41 kB / 328.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.005024, allocations: 159.2 kB / 328.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.005271, allocations: 278.2 kB / 329 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.005328, allocations: 18.91 kB / 329.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.00557, allocations: 135.5 kB / 329.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005698, allocations: 99.59 kB / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.005719, allocations: 8 kB / 329.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.006052, allocations: 231.5 kB / 329.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.006122, allocations: 55.72 kB / 329.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.006196, allocations: 75.66 kB / 329.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.006591, allocations: 390.6 kB / 330 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.006594, allocations: 0 / 330 MB, free: 11.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.006596, allocations: 4 kB / 330 MB, free: 11.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.0066, allocations: 0 / 330 MB, free: 11.97 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.0004454/0.007046, allocations: 476.4 kB / 330.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.00708, allocations: 12.02 kB / 330.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.007135, allocations: 48.89 kB / 330.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.007313, allocations: 161.3 kB / 330.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.007337, allocations: 29.38 kB / 330.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.007364, allocations: 28.38 kB / 330.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.007718, allocations: 333.1 kB / 331.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.007728, allocations: 0 / 331.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.007743, allocations: 15.94 kB / 331.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.007779, allocations: 28.98 kB / 331.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.007907, allocations: 153.7 kB / 331.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.008944, allocations: 0.7533 MB / 332.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.009003, allocations: 46.48 kB / 332.1 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.009024, allocations: 16.86 kB / 332.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.009044, allocations: 4 kB / 332.1 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.009063, allocations: 34.56 kB / 332.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.009064, allocations: 0 / 332.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001285/0.009193, allocations: 65.61 kB / 332.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.009218, allocations: 51.41 kB / 332.3 MB, free: 9.605 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.009307, allocations: 169.7 kB / 332.4 MB, free: 9.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.009317, allocations: 25.7 kB / 332.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.009394, allocations: 227.9 kB / 332.7 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.009411, allocations: 31.73 kB / 332.7 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.009457, allocations: 53.69 kB / 332.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.009527, allocations: 326.8 kB / 333.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.009549, allocations: 15.92 kB / 333.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.009616, allocations: 136.9 kB / 333.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.009732, allocations: 191.1 kB / 333.4 MB, free: 8.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.009735, allocations: 3.938 kB / 333.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001483/0.009883, allocations: 153.2 kB / 333.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009898, allocations: 8 kB / 333.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.009905, allocations: 4.562 kB / 333.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.009917, allocations: 4 kB / 333.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.01011, allocations: 71.91 kB / 333.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006035/0.01071, allocations: 1.774 MB / 335.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.0108, allocations: 31.78 kB / 335.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.01081, allocations: 8 kB / 335.5 MB, free: 6.164 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.0001145/0.01093, allocations: 136.7 kB / 335.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.01095, allocations: 11.98 kB / 335.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.01113, allocations: 118.2 kB / 335.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01113, allocations: 0 / 335.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01113, allocations: 0 / 335.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01113, allocations: 0 / 335.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.01126, allocations: 129.7 kB / 335.9 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01126, allocations: 7.938 kB / 335.9 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01137, allocations: 39.98 kB / 335.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01137, allocations: 0 / 335.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.01138, allocations: 0 / 335.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004801/0.01186, allocations: 1.777 MB / 337.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01186, allocations: 0 / 337.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.34e-05/0.01195, allocations: 158.3 kB / 337.8 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.01196, allocations: 7.953 kB / 337.8 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01198, allocations: 0 / 337.8 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.01201, allocations: 4 kB / 337.8 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.01205, allocations: 11.98 kB / 337.9 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.01206, allocations: 0 / 337.9 MB, free: 3.641 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.458e-05/0.01208, allocations: 36.06 kB / 337.9 MB, free: 3.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01208, allocations: 0 / 337.9 MB, free: 3.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.01235, allocations: 107.6 kB / 338 MB, free: 3.5 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.0001858/0.01253, allocations: 128.1 kB / 338.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.01274, allocations: 114.8 kB / 338.2 MB, free: 3.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.01274, allocations: 5.125 kB / 338.2 MB, free: 3.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.01283, allocations: 48.83 kB / 338.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.01298, allocations: 19.94 kB / 338.3 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.01371, allocations: 478.3 kB / 338.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.01377, allocations: 99.78 kB / 338.9 MB, free: 2.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.299e-05/0.01385, allocations: 37.36 kB / 338.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.01391, allocations: 59.38 kB / 339 MB, free: 2.477 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01391, allocations: 0 / 339 MB, free: 2.477 MB / 314.7 MB Notification: Performance of Templates: time 0.1292/0.1431, allocations: 3.433 MB / 342.4 MB, free: 30.5 MB / 314.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 -s gbode -gbm=radauIIA3 -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.1224409728311002]