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_nominalDensityViscosity_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.0009517/0.0009517, allocations: 80.31 kB / 22.21 MB, free: 2.281 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.001098/0.001098, allocations: 167.5 kB / 25.61 MB, free: 8.551 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.942/0.942, allocations: 177.1 MB / 206 MB, free: 4.477 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.1384/0.1384, allocations: 34.25 MB / 296.8 MB, free: 13.93 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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.[0-9,]+.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.[0-9,]+.|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_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.808e-05, allocations: 9.484 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003671/0.003699, allocations: 1.868 MB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.004836, allocations: 0.6151 MB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.004929, allocations: 0 / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.005245, allocations: 47.7 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.005432, allocations: 79.52 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.005847, allocations: 123.4 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.006084, allocations: 242.6 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.006136, allocations: 16.59 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.006266, allocations: 111.5 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.006402, allocations: 99.64 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.006424, allocations: 8 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.006697, allocations: 163.8 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.00676, allocations: 55.7 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.006827, allocations: 59.8 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.007192, allocations: 310.9 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.007194, allocations: 0 / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007195, allocations: 0 / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.0072, allocations: 4 kB / 383.1 MB, free: 19.57 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0004888/0.007688, allocations: 0.5545 MB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.007721, allocations: 12.03 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.008888, allocations: 176.4 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.009112, allocations: 203.4 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.009131, allocations: 20.86 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.009174, allocations: 20.38 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.009638, allocations: 294 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.00965, allocations: 192 / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.009682, allocations: 4.375 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.009724, allocations: 36.58 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.01001, allocations: 188.5 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01132, allocations: 0.715 MB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.01151, allocations: 63.02 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.01158, allocations: 19.67 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.01159, allocations: 0 / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.01161, allocations: 37.39 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.01161, allocations: 0 / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003727/0.01198, allocations: 109.6 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.012, allocations: 51.41 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.01208, allocations: 201.8 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.0121, allocations: 29.7 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.01216, allocations: 230.7 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.01219, allocations: 27.78 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.01228, allocations: 47.28 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.01232, allocations: 0.4962 MB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.0124, allocations: 15.98 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.01249, allocations: 62.72 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.01266, allocations: 86.64 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01266, allocations: 0 / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002917/0.01295, allocations: 125.5 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01297, allocations: 4 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01298, allocations: 0 / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01299, allocations: 7.938 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.01679, allocations: 383.4 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.01825, allocations: 2.758 MB / 390 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.01847, allocations: 23.88 kB / 390 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.0185, allocations: 7.984 kB / 390.1 MB, free: 12.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * 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 9.808e-05/0.01859, allocations: 164.8 kB / 390.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.01865, allocations: 15.83 kB / 390.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.0187, allocations: 20.75 kB / 390.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.0187, allocations: 3.938 kB / 390.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.0187, allocations: 0 / 390.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0187, allocations: 0 / 390.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.01894, allocations: 169.2 kB / 390.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01895, allocations: 4 kB / 390.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/0.02266, allocations: 371.4 kB / 390.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.02266, allocations: 4 kB / 390.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.02268, allocations: 3.984 kB / 390.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.02403, allocations: 2.758 MB / 393.6 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.02403, allocations: 7.984 kB / 393.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.0243, allocations: 231.8 kB / 393.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.02432, allocations: 7.953 kB / 393.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.02436, allocations: 3.938 kB / 393.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.02458, allocations: 11.98 kB / 393.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.02463, allocations: 11.91 kB / 393.8 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.02465, allocations: 7.984 kB / 393.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.03e-05/0.02469, allocations: 149.8 kB / 394 MB, free: 8.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02469, allocations: 0 / 394 MB, free: 8.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.02511, allocations: 87.67 kB / 394.1 MB, free: 8.148 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.0001753/0.02528, allocations: 111.2 kB / 394.2 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.02892, allocations: 403.2 kB / 394.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02892, allocations: 0 / 394.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.03235, allocations: 355.1 kB / 394.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.0327, allocations: 20.27 kB / 394.9 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.03368, allocations: 428.2 kB / 395.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.218e-05/0.03375, allocations: 99.28 kB / 395.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.881e-05/0.03384, allocations: 20.42 kB / 395.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.03395, allocations: 82.19 kB / 395.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.03395, allocations: 0 / 395.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of Templates: time 0.01202/0.04598, allocations: 5.33 MB / 400.9 MB, free: 1.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_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.3085261597298086]