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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 112.9 kB / 18.45 MB, free: 4.598 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.001992/0.001992, allocations: 183 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.393/1.393, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2002/0.2002, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.84 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002599/0.3148, allocations: 1.825 MB / 0.5214 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.3158, allocations: 0.631 MB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.3158, allocations: 2.125 kB / 0.522 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.3161, allocations: 52.86 kB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.3163, allocations: 77.88 kB / 0.5221 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.3166, allocations: 124 kB / 0.5222 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3169, allocations: 225.5 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.3169, allocations: 33.81 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.317, allocations: 82.47 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3172, allocations: 110.8 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3172, allocations: 7.156 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.3176, allocations: 217.5 kB / 0.5229 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.3176, allocations: 57.88 kB / 0.5229 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.3177, allocations: 99.02 kB / 0.523 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.3182, allocations: 332.5 kB / 0.5234 GB, free: 1.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3182, allocations: 0 / 0.5234 GB, free: 1.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3182, allocations: 1.125 kB / 0.5234 GB, free: 1.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3182, allocations: 0 / 0.5234 GB, free: 1.312 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000579/0.3188, allocations: 0.5384 MB / 0.5239 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3188, allocations: 8.719 kB / 0.5239 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/0.3207, allocations: 206.8 kB / 0.5241 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.321, allocations: 263.8 kB / 0.5243 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.321, allocations: 13.84 kB / 0.5243 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.3211, allocations: 27.45 kB / 0.5244 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000991/0.3221, allocations: 0.5015 MB / 0.5249 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3221, allocations: 0 / 0.5249 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.3221, allocations: 10.61 kB / 0.5249 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.3222, allocations: 30.33 kB / 0.5249 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3234, allocations: 0.5807 MB / 0.5255 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.3256, allocations: 1.161 MB / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.3263, allocations: 173 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.3267, allocations: 92.88 kB / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3267, allocations: 0 / 0.5269 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3267, allocations: 35.94 kB / 0.5269 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3267, allocations: 0 / 0.5269 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001278/0.328, allocations: 296.8 kB / 0.5272 GB, free: 14.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.3281, allocations: 60.7 kB / 0.5272 GB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.3283, allocations: 277.8 kB / 0.5275 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3284, allocations: 27.14 kB / 0.5275 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3285, allocations: 173.2 kB / 0.5277 GB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.3285, allocations: 23.91 kB / 0.5277 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.3286, allocations: 40.84 kB / 0.5278 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3287, allocations: 334 kB / 0.5281 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.3291, allocations: 90.28 kB / 0.5282 GB, free: 14.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.3295, allocations: 113.6 kB / 0.5283 GB, free: 14.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.3303, allocations: 218.2 kB / 0.5285 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3303, allocations: 1.969 kB / 0.5285 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009074/0.3312, allocations: 273.4 kB / 0.5287 GB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3313, allocations: 5.625 kB / 0.5287 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3313, allocations: 1.578 kB / 0.5287 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3313, allocations: 1.25 kB / 0.5287 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006284/0.3376, allocations: 463.6 kB / 0.5292 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.3404, allocations: 1.949 MB / 0.5311 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.3408, allocations: 43.36 kB / 0.5311 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3408, allocations: 16.58 kB / 0.5311 GB, free: 11.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001571/0.341, allocations: 153.4 kB / 0.5313 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.3411, allocations: 17 kB / 0.5313 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.3411, allocations: 26.08 kB / 0.5313 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3412, allocations: 7.984 kB / 0.5313 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3412, allocations: 1.031 kB / 0.5313 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.3412, allocations: 97.95 kB / 0.5314 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.3413, allocations: 4 kB / 0.5314 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.3417, allocations: 22.16 kB / 0.5315 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.3418, allocations: 7.641 kB / 0.5315 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006249/0.348, allocations: 0.6395 MB / 0.5321 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001319/0.3493, allocations: 0.5055 MB / 0.5326 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003928/0.3498, allocations: 85.31 kB / 0.5327 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.35, allocations: 205.9 kB / 0.5329 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.35, allocations: 0 / 0.5329 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006697/0.3567, allocations: 0.636 MB / 0.5335 GB, free: 10.11 MB / 398.1 MB Notification: Performance of SimCode: time 0.001107/0.3578, allocations: 0.9579 MB / 0.5344 GB, free: 9.305 MB / 398.1 MB Notification: Performance of Templates: time 0.01283/0.3706, allocations: 7.037 MB / 0.5413 GB, free: 5.449 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches