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_pressureLossCoefficient_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.001903/0.001903, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002398/0.002398, allocations: 171.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.612/1.612, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.2261/0.2261, allocations: 34.29 MB / 294.9 MB, free: 14.55 MB / 286.1 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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.16e-05, allocations: 6.219 kB / 442.7 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002902/0.002924, allocations: 1.682 MB / 444.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.004383, allocations: 0.7828 MB / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.004432, allocations: 4 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.004649, allocations: 39.69 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.004828, allocations: 55.67 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.005167, allocations: 103.5 kB / 445.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.005388, allocations: 159.1 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.005428, allocations: 5.312 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.005645, allocations: 95.64 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.005789, allocations: 63.8 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.005812, allocations: 4 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.006096, allocations: 131.8 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.00617, allocations: 39.84 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.006235, allocations: 39.88 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.006594, allocations: 211.2 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006596, allocations: 0 / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006597, allocations: 0 / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006601, allocations: 0 / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006477/0.007248, allocations: 393.5 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.007282, allocations: 8.031 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.007723, allocations: 60.73 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.007963, allocations: 153.6 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.007981, allocations: 12.38 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.008009, allocations: 16.31 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.008494, allocations: 246 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.008507, allocations: 3.938 kB / 447 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.008527, allocations: 0 / 447 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.008568, allocations: 27.77 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.009056, allocations: 219.8 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.01013, allocations: 493.2 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.01037, allocations: 90.44 kB / 447.8 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.01051, allocations: 48.81 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.01053, allocations: 0 / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.01055, allocations: 30.56 kB / 447.9 MB, free: 52 kB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.01055, allocations: 0 / 447.9 MB, free: 52 kB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.1867/0.1972, allocations: 164.8 kB / 448 MB, free: 19.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1972, allocations: 60.47 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1974, allocations: 140.5 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1974, allocations: 26.77 kB / 448.2 MB, free: 19.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.1975, allocations: 147.2 kB / 448.4 MB, free: 19.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1975, allocations: 34.62 kB / 448.4 MB, free: 19.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.1976, allocations: 34.14 kB / 448.5 MB, free: 19.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.1976, allocations: 319.5 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1978, allocations: 48.14 kB / 448.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1979, allocations: 102.1 kB / 448.9 MB, free: 18.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.1983, allocations: 160.4 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1983, allocations: 0.875 kB / 449.1 MB, free: 18.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004141/0.1987, allocations: 181.9 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1987, allocations: 10.3 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1987, allocations: 1.5 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1987, allocations: 2.875 kB / 449.3 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009535/0.1997, allocations: 95.09 kB / 449.4 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.2006, allocations: 1.809 MB / 451.2 MB, free: 16.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2007, allocations: 15.61 kB / 451.2 MB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.2008, allocations: 8.844 kB / 451.2 MB, free: 16.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001155/0.2009, allocations: 145.2 kB / 451.3 MB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2009, allocations: 12.2 kB / 451.3 MB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.2014, allocations: 181.7 kB / 451.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2014, allocations: 2.188 kB / 451.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2014, allocations: 0.6562 kB / 451.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2014, allocations: 1.828 kB / 451.5 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.2016, allocations: 161 kB / 451.7 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2016, allocations: 3.781 kB / 451.7 MB, free: 16.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007426/0.2024, allocations: 86.86 kB / 451.8 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2024, allocations: 1.25 kB / 451.8 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2024, allocations: 6 kB / 451.8 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006268/0.203, allocations: 1.775 MB / 453.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.203, allocations: 1.219 kB / 453.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.2034, allocations: 239.7 kB / 453.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.2034, allocations: 11.27 kB / 453.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2034, allocations: 6.078 kB / 453.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.2036, allocations: 8.359 kB / 453.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.2036, allocations: 19.3 kB / 453.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2036, allocations: 2.984 kB / 453.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.2037, allocations: 108.9 kB / 453.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2037, allocations: 0 / 453.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.204, allocations: 51.75 kB / 454 MB, free: 14.5 MB / 366.1 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 (11): * Single equations (assignments): 8 * 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.0001902/0.2042, allocations: 107.8 kB / 454.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2055, allocations: 204.1 kB / 454.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2055, allocations: 1.594 kB / 454.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.2061, allocations: 98.53 kB / 454.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2065, allocations: 25.94 kB / 454.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.2071, allocations: 324.9 kB / 454.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.2072, allocations: 128.3 kB / 454.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.619e-05/0.2073, allocations: 32.2 kB / 454.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.2074, allocations: 19.59 kB / 454.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2074, allocations: 0 / 454.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.007032/0.2144, allocations: 2.576 MB / 457.5 MB, free: 13.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.329703468829393]