Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.001178/0.001178, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001457/0.001457, allocations: 164 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9591/0.9591, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] 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.2898/0.2898, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 266.7 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.87e-05/2.012e-05, allocations: 2.312 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002348/0.002368, allocations: 1.977 MB / 327.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.003995, allocations: 1.122 MB / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.004062, allocations: 0 / 329 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.004339, allocations: 63.55 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.004518, allocations: 75.45 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.004897, allocations: 171.2 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.005154, allocations: 278.9 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.005215, allocations: 18.89 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.00548, allocations: 143.4 kB / 329.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.005624, allocations: 95.59 kB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005643, allocations: 4 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.005935, allocations: 227.5 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.006005, allocations: 51.72 kB / 330.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.006074, allocations: 79.66 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.006494, allocations: 390.6 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006497, allocations: 0 / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.006498, allocations: 0 / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006502, allocations: 0 / 330.6 MB, free: 2.434 MB / 298.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.0004917/0.006994, allocations: 473.8 kB / 331.1 MB, free: 1.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.007029, allocations: 8.031 kB / 331.1 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.007088, allocations: 52.89 kB / 331.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.007259, allocations: 169.3 kB / 331.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.007276, allocations: 21.38 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.007305, allocations: 32.38 kB / 331.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.007618, allocations: 333.1 kB / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007627, allocations: 3.938 kB / 331.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.007645, allocations: 12 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.007683, allocations: 28.98 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.00782, allocations: 157.7 kB / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.008599, allocations: 0.7533 MB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.556e-05/0.008674, allocations: 42.5 kB / 332.7 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.008701, allocations: 17.02 kB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.008724, allocations: 3.984 kB / 332.7 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.008751, allocations: 34.56 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.786e-06/0.008754, allocations: 0 / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001586/0.008912, allocations: 65.61 kB / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.008946, allocations: 51.41 kB / 332.8 MB, free: 72 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.009065, allocations: 170.4 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.009079, allocations: 29.7 kB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.009169, allocations: 219.9 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.009188, allocations: 31.77 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.009239, allocations: 49.64 kB / 333.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.009335, allocations: 322.8 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.009362, allocations: 19.92 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.009451, allocations: 136.9 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.009595, allocations: 182.8 kB / 334 MB, free: 14.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.0096, allocations: 7.938 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001626/0.009763, allocations: 153.7 kB / 334.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.00978, allocations: 8 kB / 334.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.009787, allocations: 8.422 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.009803, allocations: 8 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.01001, allocations: 63.91 kB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009136/0.01092, allocations: 1.774 MB / 336 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.011, allocations: 31.78 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01101, allocations: 12 kB / 336 MB, free: 12.63 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.0001094/0.01112, allocations: 136.7 kB / 336.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.01114, allocations: 7.984 kB / 336.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.01134, allocations: 128.2 kB / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01134, allocations: 0 / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01134, allocations: 0 / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01135, allocations: 0 / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.01147, allocations: 125.7 kB / 336.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01148, allocations: 3.984 kB / 336.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01158, allocations: 35.98 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01159, allocations: 4 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.01159, allocations: 0 / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005144/0.01211, allocations: 1.773 MB / 338.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01211, allocations: 3.984 kB / 338.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.465e-05/0.0122, allocations: 158.3 kB / 338.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.01222, allocations: 11.94 kB / 338.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.01223, allocations: 0 / 338.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.01227, allocations: 4 kB / 338.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.0123, allocations: 12.17 kB / 338.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01231, allocations: 7.984 kB / 338.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.789e-05/0.01233, allocations: 30.25 kB / 338.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01233, allocations: 0 / 338.5 MB, free: 10.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.01259, allocations: 111.5 kB / 338.6 MB, free: 9.973 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.0002104/0.0128, allocations: 120.3 kB / 338.7 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.01302, allocations: 115.7 kB / 338.8 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01302, allocations: 256 / 338.8 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.01311, allocations: 56.83 kB / 338.9 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.01327, allocations: 17.36 kB / 338.9 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.01402, allocations: 472.9 kB / 339.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.813e-05/0.01409, allocations: 103.8 kB / 339.4 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.137e-05/0.01418, allocations: 37.2 kB / 339.5 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.01424, allocations: 63.38 kB / 339.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01424, allocations: 0 / 339.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of Templates: time 0.005776/0.02001, allocations: 3.44 MB / 343 MB, free: 5.605 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2743083839304745]