Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 111.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 186.1 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3635, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002698/0.3663, allocations: 1.671 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3675, allocations: 0.8011 MB / 0.522 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.3676, allocations: 2 kB / 0.522 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.3678, allocations: 34.56 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.368, allocations: 58.44 kB / 0.5221 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.3683, allocations: 106.5 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.3686, allocations: 152.6 kB / 0.5223 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.3686, allocations: 15.22 kB / 0.5224 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3688, allocations: 64.61 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3689, allocations: 74.52 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3689, allocations: 4.281 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.3692, allocations: 160.4 kB / 0.5227 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.3693, allocations: 35.8 kB / 0.5227 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.188e-05/0.3694, allocations: 63.73 kB / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.3697, allocations: 202.1 kB / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3698, allocations: 1.094 kB / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3698, allocations: 0 / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3698, allocations: 0 / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005418/0.3703, allocations: 469.9 kB / 0.5234 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3704, allocations: 9.312 kB / 0.5234 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/0.3709, allocations: 73.48 kB / 0.5235 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.371, allocations: 214.2 kB / 0.5237 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3711, allocations: 10.5 kB / 0.5237 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3711, allocations: 12.78 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.3716, allocations: 240.2 kB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3716, allocations: 4.703 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3716, allocations: 4 kB / 0.5239 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.3716, allocations: 18.45 kB / 0.5239 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.3721, allocations: 222.7 kB / 0.5242 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.3731, allocations: 0.7281 MB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3733, allocations: 93.52 kB / 0.525 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3734, allocations: 48 kB / 0.525 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3735, allocations: 0 / 0.525 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3735, allocations: 36.48 kB / 0.525 GB, free: 32 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3735, allocations: 0 / 0.525 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005224/0.374, allocations: 165.9 kB / 0.5252 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3741, allocations: 56 kB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3742, allocations: 193.8 kB / 0.5254 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3743, allocations: 25.7 kB / 0.5255 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.3744, allocations: 148.8 kB / 0.5256 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.3744, allocations: 20.61 kB / 0.5256 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.3745, allocations: 32.42 kB / 0.5257 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3746, allocations: 333.9 kB / 0.526 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3747, allocations: 49.5 kB / 0.526 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3749, allocations: 98.17 kB / 0.5261 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.3752, allocations: 156.6 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3753, allocations: 4 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003856/0.3756, allocations: 182.7 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3757, allocations: 13 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3757, allocations: 1.375 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3757, allocations: 2.75 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/0.3766, allocations: 127.3 kB / 0.5266 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.3779, allocations: 1.818 MB / 0.5284 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.378, allocations: 26.81 kB / 0.5284 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3781, allocations: 5.5 kB / 0.5284 GB, free: 13.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * 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.0001269/0.3782, allocations: 141.1 kB / 0.5285 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.3782, allocations: 17.34 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.3787, allocations: 177 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3787, allocations: 1.375 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3787, allocations: 3.938 kB / 0.5287 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.3788, allocations: 97.06 kB / 0.5288 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3788, allocations: 1.375 kB / 0.5288 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.379, allocations: 13.48 kB / 0.5288 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.379, allocations: 8.062 kB / 0.5288 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008355/0.3798, allocations: 303.1 kB / 0.5291 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005383/0.3804, allocations: 396.2 kB / 0.5295 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001414/0.3805, allocations: 53.86 kB / 0.5295 GB, free: 12.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3807, allocations: 132.8 kB / 0.5297 GB, free: 12.16 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.3807, allocations: 0 / 0.5297 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3822, allocations: 304.5 kB / 0.53 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 0.001025/0.3832, allocations: 0.8438 MB / 0.5308 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Templates: time 0.007436/0.3907, allocations: 3.592 MB / 0.5343 GB, free: 9.477 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches