Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001525/0.001525, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.0018/0.0018, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.431/1.431, allocations: 230.2 MB / 257.8 MB, free: 8.484 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2232/0.2232, allocations: 46.89 MB / 361.1 MB, free: 4.703 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-beta.om/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.1.|rho.2.|rho.3.|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-beta.om_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.1.|rho.2.|rho.3.|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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 80.06 kB / 0.4968 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3021, allocations: 66 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003333/0.3054, allocations: 1.947 MB / 0.5631 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3073, allocations: 1.146 MB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3074, allocations: 7.938 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3077, allocations: 63.66 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.3079, allocations: 75.52 kB / 0.5644 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3084, allocations: 166 kB / 0.5646 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.3087, allocations: 262.4 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.3088, allocations: 16.73 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.309, allocations: 99.45 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.3092, allocations: 131.2 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.3092, allocations: 8 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005449/0.3098, allocations: 315.5 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.3099, allocations: 55.62 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.31, allocations: 115.2 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.3106, allocations: 442.2 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.3106, allocations: 3.938 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3106, allocations: 0 / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3106, allocations: 0 / 0.5659 GB, free: 164 kB / 398.1 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.0008319/0.3114, allocations: 0.5681 MB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3115, allocations: 8.031 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.3115, allocations: 36.75 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3118, allocations: 235.9 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3119, allocations: 42.23 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.3119, allocations: 28 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.3127, allocations: 497.4 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3127, allocations: 3.938 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.3127, allocations: 12 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.3127, allocations: 28.98 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.3135, allocations: 431.7 kB / 0.5678 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3151, allocations: 1.178 MB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3153, allocations: 74.53 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3154, allocations: 40.83 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3154, allocations: 4 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.3155, allocations: 38.55 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3155, allocations: 0 / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004781/0.3159, allocations: 161.6 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.316, allocations: 51.41 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3161, allocations: 166.4 kB / 0.5694 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3161, allocations: 25.7 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3163, allocations: 231.8 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3163, allocations: 23.8 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.3164, allocations: 57.66 kB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3166, allocations: 322.8 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3167, allocations: 55.89 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.317, allocations: 176.2 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.3174, allocations: 248.3 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3174, allocations: 0 / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004825/0.3179, allocations: 249.1 kB / 0.5708 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3179, allocations: 8 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3179, allocations: 4 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3179, allocations: 8.562 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.3182, allocations: 95.89 kB / 0.5709 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/0.3195, allocations: 1.778 MB / 0.5726 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.3196, allocations: 31.83 kB / 0.5726 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.3196, allocations: 16 kB / 0.5726 GB, free: 8.824 MB / 414.1 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 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * 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.0002418/0.3199, allocations: 181.6 kB / 0.5728 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3199, allocations: 7.953 kB / 0.5728 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.3204, allocations: 194.1 kB / 0.573 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3204, allocations: 0 / 0.573 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3204, allocations: 4 kB / 0.573 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.3205, allocations: 89.02 kB / 0.5731 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3205, allocations: 3.938 kB / 0.5731 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.3206, allocations: 11.92 kB / 0.5731 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.3206, allocations: 12 kB / 0.5731 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005809/0.3212, allocations: 267.4 kB / 0.5734 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004901/0.3217, allocations: 346.6 kB / 0.5737 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001242/0.3218, allocations: 43.95 kB / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.382e-05/0.3219, allocations: 119.9 kB / 0.5739 GB, free: 7.508 MB / 414.1 MB Notification: Performance of Backend: time 3.51e-07/0.3219, allocations: 0 / 0.5739 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009852/0.3229, allocations: 274 kB / 0.5741 GB, free: 7.23 MB / 414.1 MB Notification: Performance of SimCode: time 0.00142/0.3243, allocations: 0.9463 MB / 0.5751 GB, free: 6.23 MB / 414.1 MB Notification: Performance of Templates: time 0.008815/0.3331, allocations: 3.624 MB / 0.5786 GB, free: 2.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.02116063516587]