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.001135/0.001135, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.09 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3449, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003976/0.3489, allocations: 1.92 MB / 0.5336 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.3513, allocations: 1.13 MB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.3515, allocations: 1.375 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.3519, allocations: 69.45 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.3523, allocations: 86.58 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.3528, allocations: 147.4 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.3532, allocations: 261.5 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.3533, allocations: 42.27 kB / 0.5353 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.3536, allocations: 106.7 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3539, allocations: 115.8 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.3539, allocations: 11.06 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.3546, allocations: 322.4 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3547, allocations: 58.83 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.3549, allocations: 109.4 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.3556, allocations: 436.9 kB / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3556, allocations: 0 / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3557, allocations: 1.375 kB / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3557, allocations: 0 / 0.5364 GB, free: 10.14 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.00108/0.3568, allocations: 0.5811 MB / 0.5369 GB, free: 9.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.3568, allocations: 8.031 kB / 0.5369 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.357, allocations: 35.7 kB / 0.537 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.3573, allocations: 234.8 kB / 0.5372 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3573, allocations: 30.84 kB / 0.5372 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3574, allocations: 32.67 kB / 0.5373 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.3582, allocations: 495.4 kB / 0.5377 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3583, allocations: 1.219 kB / 0.5377 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.3583, allocations: 10.03 kB / 0.5377 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.3584, allocations: 31.58 kB / 0.5378 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.3591, allocations: 426.9 kB / 0.5382 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.3608, allocations: 1.191 MB / 0.5393 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3611, allocations: 80.84 kB / 0.5394 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3612, allocations: 37.45 kB / 0.5395 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3612, allocations: 6.141 kB / 0.5395 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.3613, allocations: 35.62 kB / 0.5395 GB, free: 7.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.3613, allocations: 4.938 kB / 0.5395 GB, free: 7.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005302/0.3618, allocations: 152.2 kB / 0.5396 GB, free: 7.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.3619, allocations: 56.59 kB / 0.5397 GB, free: 7.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.362, allocations: 166.3 kB / 0.5399 GB, free: 7.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3621, allocations: 26.67 kB / 0.5399 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3622, allocations: 227.3 kB / 0.5401 GB, free: 7.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3622, allocations: 32.14 kB / 0.5401 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.3623, allocations: 56.86 kB / 0.5402 GB, free: 7.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3625, allocations: 322 kB / 0.5405 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3626, allocations: 50.58 kB / 0.5405 GB, free: 6.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3629, allocations: 181.4 kB / 0.5407 GB, free: 6.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.3633, allocations: 246.2 kB / 0.5409 GB, free: 6.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3633, allocations: 5.188 kB / 0.541 GB, free: 6.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000524/0.3638, allocations: 246.3 kB / 0.5412 GB, free: 6.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3639, allocations: 9.844 kB / 0.5412 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3639, allocations: 4.281 kB / 0.5412 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.3639, allocations: 5.344 kB / 0.5412 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.3643, allocations: 89.5 kB / 0.5413 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009416/0.3652, allocations: 1.787 MB / 0.543 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3654, allocations: 27.72 kB / 0.5431 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3655, allocations: 16.62 kB / 0.5431 GB, free: 4.363 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.000322/0.3658, allocations: 179.9 kB / 0.5433 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.3658, allocations: 12.25 kB / 0.5433 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.3664, allocations: 199.1 kB / 0.5435 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3664, allocations: 7.875 kB / 0.5435 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3664, allocations: 0.8125 kB / 0.5435 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.3665, allocations: 91.14 kB / 0.5435 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3665, allocations: 0.9688 kB / 0.5435 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.3666, allocations: 3.844 kB / 0.5436 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.3667, allocations: 13.27 kB / 0.5436 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005937/0.3673, allocations: 270 kB / 0.5438 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004922/0.3678, allocations: 350.5 kB / 0.5442 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001256/0.3679, allocations: 42.09 kB / 0.5442 GB, free: 3.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.368, allocations: 115.5 kB / 0.5443 GB, free: 3.383 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.368, allocations: 0 / 0.5443 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.369, allocations: 286.8 kB / 0.5446 GB, free: 3.227 MB / 398.1 MB Notification: Performance of SimCode: time 0.001117/0.3702, allocations: 0.9206 MB / 0.5455 GB, free: 2.445 MB / 398.1 MB Notification: Performance of Templates: time 0.00799/0.3782, allocations: 3.544 MB / 0.5489 GB, free: 15.56 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