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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=10100,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_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=10100,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 110.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 83.8 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3113, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00318/0.3145, allocations: 1.918 MB / 0.5336 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3163, allocations: 1.138 MB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.3164, allocations: 1.375 kB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3168, allocations: 65.47 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.317, allocations: 81.27 kB / 0.5348 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.3174, allocations: 151.4 kB / 0.535 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.3176, allocations: 265.8 kB / 0.5352 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.3177, allocations: 34.73 kB / 0.5352 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3179, allocations: 110.1 kB / 0.5354 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3181, allocations: 112.2 kB / 0.5355 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3181, allocations: 10.59 kB / 0.5355 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.3186, allocations: 322.2 kB / 0.5358 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.3187, allocations: 55.98 kB / 0.5358 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3188, allocations: 116 kB / 0.5359 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.3193, allocations: 435.8 kB / 0.5364 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3193, allocations: 0 / 0.5364 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3193, allocations: 0 / 0.5364 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3193, allocations: 0 / 0.5364 GB, free: 10.35 MB / 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.0007091/0.3201, allocations: 0.5705 MB / 0.5369 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3201, allocations: 9.125 kB / 0.5369 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.3202, allocations: 31.03 kB / 0.537 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3204, allocations: 242.4 kB / 0.5372 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3204, allocations: 27.38 kB / 0.5372 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.3205, allocations: 36.98 kB / 0.5372 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.3212, allocations: 486.6 kB / 0.5377 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3212, allocations: 5.188 kB / 0.5377 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3213, allocations: 14.14 kB / 0.5377 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.3213, allocations: 27.52 kB / 0.5378 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.3219, allocations: 429.9 kB / 0.5382 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.3233, allocations: 1.176 MB / 0.5393 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3235, allocations: 77.67 kB / 0.5394 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3236, allocations: 41.05 kB / 0.5394 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3237, allocations: 3 kB / 0.5394 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.3237, allocations: 30.56 kB / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3237, allocations: 0 / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004455/0.3242, allocations: 160.2 kB / 0.5396 GB, free: 7.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.3242, allocations: 53.12 kB / 0.5397 GB, free: 7.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3243, allocations: 176.3 kB / 0.5398 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3244, allocations: 25.7 kB / 0.5399 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3245, allocations: 223 kB / 0.5401 GB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.3245, allocations: 24.09 kB / 0.5401 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.3246, allocations: 64.52 kB / 0.5402 GB, free: 7.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3248, allocations: 322 kB / 0.5405 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3249, allocations: 50.52 kB / 0.5405 GB, free: 7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3251, allocations: 184.2 kB / 0.5407 GB, free: 6.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.3255, allocations: 246 kB / 0.5409 GB, free: 6.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3255, allocations: 1.094 kB / 0.5409 GB, free: 6.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004626/0.326, allocations: 247.1 kB / 0.5412 GB, free: 6.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.326, allocations: 6.406 kB / 0.5412 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.326, allocations: 4.281 kB / 0.5412 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3261, allocations: 6.75 kB / 0.5412 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.3264, allocations: 88.61 kB / 0.5413 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009278/0.3273, allocations: 1.791 MB / 0.543 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3275, allocations: 34.61 kB / 0.543 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3275, allocations: 17.34 kB / 0.5431 GB, free: 4.59 MB / 398.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.0002363/0.3278, allocations: 182.9 kB / 0.5432 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3278, allocations: 9.375 kB / 0.5432 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.3283, allocations: 194.3 kB / 0.5434 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3283, allocations: 5.062 kB / 0.5434 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3283, allocations: 0 / 0.5434 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.3284, allocations: 84.2 kB / 0.5435 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3284, allocations: 5.094 kB / 0.5435 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3285, allocations: 7.609 kB / 0.5435 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.3286, allocations: 4.844 kB / 0.5435 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005387/0.3291, allocations: 277.8 kB / 0.5438 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000488/0.3296, allocations: 350.3 kB / 0.5441 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001511/0.3298, allocations: 38.7 kB / 0.5442 GB, free: 3.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.353e-05/0.3299, allocations: 115 kB / 0.5443 GB, free: 3.621 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3299, allocations: 0 / 0.5443 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3309, allocations: 278.1 kB / 0.5445 GB, free: 3.473 MB / 398.1 MB Notification: Performance of SimCode: time 0.001167/0.3321, allocations: 0.9289 MB / 0.5454 GB, free: 2.688 MB / 398.1 MB Notification: Performance of Templates: time 0.007593/0.3397, allocations: 3.575 MB / 0.5489 GB, free: 15.68 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches