Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 85.94 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2145/0.2145, allocations: 34.26 MB / 294.8 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.68e-05, allocations: 2.281 kB / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003106/0.003133, allocations: 1.684 MB / 444.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.004749, allocations: 0.7828 MB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.004801, allocations: 4 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.005018, allocations: 31.77 kB / 445.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.005213, allocations: 59.61 kB / 445.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.005568, allocations: 103.6 kB / 445.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.005808, allocations: 159.1 kB / 445.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.005861, allocations: 5.312 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.006078, allocations: 91.66 kB / 445.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.006217, allocations: 59.81 kB / 445.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.006239, allocations: 4 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.006507, allocations: 135.7 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.006577, allocations: 39.84 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.006648, allocations: 47.84 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.006998, allocations: 207.3 kB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.007002, allocations: 3.938 kB / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007003, allocations: 0 / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.007009, allocations: 0 / 446.1 MB, free: 1.887 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.0006829/0.007692, allocations: 389.5 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.007732, allocations: 8.031 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.008207, allocations: 56.75 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.008448, allocations: 161.6 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.008469, allocations: 16.3 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.008504, allocations: 16.31 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.008998, allocations: 238 kB / 446.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.009011, allocations: 3.938 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.009033, allocations: 3.984 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.00908, allocations: 27.77 kB / 447 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.009548, allocations: 223.8 kB / 447.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.01061, allocations: 489.2 kB / 447.7 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.01085, allocations: 94.42 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.01099, allocations: 48.97 kB / 447.8 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.01101, allocations: 3.984 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1915/0.2025, allocations: 30.56 kB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 4.138e-06/0.2025, allocations: 0 / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007404/0.2032, allocations: 163.2 kB / 448 MB, free: 19.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2033, allocations: 58.86 kB / 448.1 MB, free: 19.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.2034, allocations: 139.6 kB / 448.2 MB, free: 19.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.2034, allocations: 25.7 kB / 448.2 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.2035, allocations: 150.9 kB / 448.4 MB, free: 19.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2035, allocations: 30.61 kB / 448.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.2036, allocations: 33.38 kB / 448.4 MB, free: 19.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.2036, allocations: 323 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2038, allocations: 46.42 kB / 448.8 MB, free: 18.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.204, allocations: 98.23 kB / 448.9 MB, free: 18.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.2043, allocations: 165.3 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2043, allocations: 1.734 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000451/0.2047, allocations: 188.9 kB / 449.2 MB, free: 18.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.2048, allocations: 5.75 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2048, allocations: 2.188 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.2048, allocations: 2.188 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.2058, allocations: 92.31 kB / 449.3 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/0.2067, allocations: 1.814 MB / 451.2 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2068, allocations: 16.2 kB / 451.2 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.2068, allocations: 7.625 kB / 451.2 MB, free: 16.8 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 9.949e-05/0.2069, allocations: 143.8 kB / 451.3 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.207, allocations: 12.36 kB / 451.3 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.2074, allocations: 177.7 kB / 451.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2074, allocations: 1.188 kB / 451.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2074, allocations: 1.156 kB / 451.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2074, allocations: 0.7031 kB / 451.5 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2076, allocations: 174.9 kB / 451.7 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2076, allocations: 1.188 kB / 451.7 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.2083, allocations: 83.25 kB / 451.8 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2083, allocations: 0 / 451.8 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2084, allocations: 3 kB / 451.8 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006118/0.209, allocations: 1.769 MB / 453.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.209, allocations: 0.7969 kB / 453.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.2093, allocations: 246.9 kB / 453.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.2093, allocations: 12.23 kB / 453.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2094, allocations: 1.156 kB / 453.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2095, allocations: 14.23 kB / 453.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.2096, allocations: 9.078 kB / 453.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2096, allocations: 2.953 kB / 453.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.2096, allocations: 106.4 kB / 453.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2096, allocations: 0 / 453.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.21, allocations: 54.5 kB / 454 MB, free: 14.43 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.0001822/0.2101, allocations: 99.33 kB / 454.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.2114, allocations: 208.3 kB / 454.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2114, allocations: 1.312 kB / 454.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.2121, allocations: 100.3 kB / 454.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2124, allocations: 24.14 kB / 454.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.2131, allocations: 331.9 kB / 454.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2132, allocations: 124.7 kB / 454.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.2133, allocations: 38.03 kB / 454.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.2134, allocations: 15.92 kB / 454.9 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2134, allocations: 0 / 454.9 MB, free: 14 MB / 366.1 MB Notification: Performance of Templates: time 0.007347/0.2207, allocations: 2.569 MB / 457.5 MB, free: 13.8 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.21499165892601]