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.0009552/0.0009552, allocations: 84.73 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.0009786/0.0009786, allocations: 169.5 kB / 24.91 MB, free: 8.258 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.9452/0.9452, allocations: 177 MB / 205.2 MB, free: 5.449 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.2649/0.2649, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 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.272e-06/1.272e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.766e-05, allocations: 2.312 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.005806/0.005823, allocations: 2.039 MB / 328 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.007332, allocations: 1.122 MB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.007393, allocations: 0 / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.01068, allocations: 63.61 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.01086, allocations: 83.39 kB / 329.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.01122, allocations: 147.3 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.01148, allocations: 282.9 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.01153, allocations: 14.89 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.01174, allocations: 155.3 kB / 329.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.01188, allocations: 95.64 kB / 330 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.01189, allocations: 8 kB / 330 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.0123, allocations: 219.6 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.01236, allocations: 55.7 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.495e-05/0.01244, allocations: 75.67 kB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.01285, allocations: 394.5 kB / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01285, allocations: 0 / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01285, allocations: 0 / 330.7 MB, free: 2.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.01285, allocations: 0 / 330.7 MB, free: 2.363 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.0004811/0.01333, allocations: 485.8 kB / 331.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003045/0.01638, allocations: 8.031 kB / 331.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.01645, allocations: 44.91 kB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.01662, allocations: 161.3 kB / 331.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.01664, allocations: 29.36 kB / 331.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.01667, allocations: 36.38 kB / 331.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.01704, allocations: 325 kB / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.01705, allocations: 0 / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.01707, allocations: 19.98 kB / 331.8 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.01712, allocations: 28.98 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.01728, allocations: 149.8 kB / 332 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.01815, allocations: 0.7572 MB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.299e-05/0.01821, allocations: 38.52 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.01824, allocations: 16.84 kB / 332.8 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.01826, allocations: 7.938 kB / 332.8 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01828, allocations: 34.56 kB / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.01828, allocations: 0 / 332.8 MB, free: 136 kB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001512/0.01843, allocations: 65.81 kB / 332.9 MB, free: 64 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.01846, allocations: 51.41 kB / 332.9 MB, free: 0 / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01857, allocations: 170.4 kB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.01858, allocations: 25.7 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.01867, allocations: 219.9 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.01869, allocations: 31.77 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.01875, allocations: 53.64 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.01882, allocations: 322.8 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.01885, allocations: 19.88 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.01893, allocations: 140.3 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01908, allocations: 174.9 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.01909, allocations: 7.938 kB / 334.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004669/0.01955, allocations: 157.5 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01957, allocations: 8 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01957, allocations: 4.078 kB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01959, allocations: 4.562 kB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.01983, allocations: 71.91 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006578/0.02049, allocations: 1.778 MB / 336.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.02059, allocations: 31.78 kB / 336.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.02061, allocations: 8 kB / 336.1 MB, free: 12.56 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.000105/0.02071, allocations: 137.7 kB / 336.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.02074, allocations: 16.11 kB / 336.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.02095, allocations: 120.5 kB / 336.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.02096, allocations: 7.984 kB / 336.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.02096, allocations: 0 / 336.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.02096, allocations: 0 / 336.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.02112, allocations: 121.8 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.02112, allocations: 3.938 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.02127, allocations: 43.97 kB / 336.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02127, allocations: 0 / 336.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.02128, allocations: 0 / 336.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006345/0.02191, allocations: 1.766 MB / 338.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02192, allocations: 4 kB / 338.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.02202, allocations: 158.2 kB / 338.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.02203, allocations: 11.94 kB / 338.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.02205, allocations: 3.984 kB / 338.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.02211, allocations: 4 kB / 338.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.02214, allocations: 11.98 kB / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.02215, allocations: 0 / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.02218, allocations: 30.47 kB / 338.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02218, allocations: 4.125 kB / 338.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.02251, allocations: 99.61 kB / 338.7 MB, free: 9.91 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.0002025/0.02271, allocations: 128.3 kB / 338.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.0229, allocations: 112.6 kB / 338.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.02291, allocations: 1.125 kB / 338.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.02299, allocations: 60.77 kB / 339 MB, free: 9.602 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.02313, allocations: 17.58 kB / 339 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.02378, allocations: 473 kB / 339.4 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.382e-05/0.02383, allocations: 103.8 kB / 339.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.212e-05/0.02391, allocations: 42.14 kB / 339.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.02396, allocations: 59.38 kB / 339.6 MB, free: 8.887 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02396, allocations: 0 / 339.6 MB, free: 8.887 MB / 314.7 MB Notification: Performance of Templates: time 0.004956/0.02892, allocations: 3.444 MB / 343.1 MB, free: 5.523 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 -s gbode -gbm=radauIIA3 -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.0916464617475867]