Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001386/0.001386, allocations: 191.2 kB / 19.39 MB, free: 3.707 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.382/1.382, 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.2165/0.2165, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3676, allocations: 60.81 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002855/0.3704, allocations: 1.829 MB / 0.5214 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.3741, allocations: 2.859 MB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.3742, allocations: 2.469 kB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.3744, allocations: 48.98 kB / 0.5242 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3748, allocations: 88.19 kB / 0.5243 GB, free: 332 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.3762, allocations: 0.7198 MB / 0.525 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.3765, allocations: 235 kB / 0.5252 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.3766, allocations: 30.77 kB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3768, allocations: 112.2 kB / 0.5254 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.377, allocations: 114.3 kB / 0.5255 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.377, allocations: 8.938 kB / 0.5255 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.3789, allocations: 1.215 MB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.379, allocations: 73.34 kB / 0.5267 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3791, allocations: 108.7 kB / 0.5268 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3805, allocations: 0.9146 MB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3805, allocations: 0 / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3805, allocations: 0 / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3805, allocations: 0 / 0.5277 GB, free: 14.6 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009651/0.3815, allocations: 0.6871 MB / 0.5284 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3815, allocations: 8.25 kB / 0.5284 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.3816, allocations: 34.45 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.3819, allocations: 242.1 kB / 0.5287 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3819, allocations: 18.88 kB / 0.5287 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.3819, allocations: 29.66 kB / 0.5287 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.3827, allocations: 470.8 kB / 0.5292 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3827, allocations: 0 / 0.5292 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.3827, allocations: 10.34 kB / 0.5292 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.3828, allocations: 51.09 kB / 0.5292 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.3837, allocations: 0.5457 MB / 0.5298 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.3855, allocations: 1.315 MB / 0.5311 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.386, allocations: 266.5 kB / 0.5313 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3862, allocations: 102.2 kB / 0.5314 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.3862, allocations: 9.594 kB / 0.5314 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3863, allocations: 40.12 kB / 0.5315 GB, free: 11.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.3863, allocations: 0 / 0.5315 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007555/0.387, allocations: 333.2 kB / 0.5318 GB, free: 11.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.3871, allocations: 58.31 kB / 0.5318 GB, free: 11.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3872, allocations: 140.9 kB / 0.532 GB, free: 11.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3872, allocations: 34.86 kB / 0.532 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3873, allocations: 203.7 kB / 0.5322 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.3874, allocations: 86.67 kB / 0.5323 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.3875, allocations: 71.36 kB / 0.5323 GB, free: 11.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3876, allocations: 327.2 kB / 0.5327 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3878, allocations: 87.8 kB / 0.5327 GB, free: 10.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3881, allocations: 172.5 kB / 0.5329 GB, free: 10.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.3886, allocations: 288.4 kB / 0.5332 GB, free: 10.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3886, allocations: 5.141 kB / 0.5332 GB, free: 10.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006032/0.3892, allocations: 326.8 kB / 0.5335 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3892, allocations: 9.562 kB / 0.5335 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3893, allocations: 7.438 kB / 0.5335 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3893, allocations: 4.531 kB / 0.5335 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.3898, allocations: 121.5 kB / 0.5336 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3909, allocations: 2.361 MB / 0.5359 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.3911, allocations: 43.02 kB / 0.536 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.3912, allocations: 16.28 kB / 0.536 GB, free: 7.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.3913, allocations: 172.4 kB / 0.5362 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.3914, allocations: 10.52 kB / 0.5362 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007867/0.3922, allocations: 368.7 kB / 0.5365 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3922, allocations: 5.453 kB / 0.5365 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3922, allocations: 4 kB / 0.5365 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.3923, allocations: 93.33 kB / 0.5366 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3923, allocations: 9.938 kB / 0.5366 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3925, allocations: 13.11 kB / 0.5366 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.3925, allocations: 22.84 kB / 0.5367 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009315/0.3935, allocations: 456.8 kB / 0.5371 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008158/0.3943, allocations: 0.5769 MB / 0.5377 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002646/0.3946, allocations: 121.3 kB / 0.5378 GB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.3947, allocations: 103.7 kB / 0.5379 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3947, allocations: 0 / 0.5379 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.3964, allocations: 0.5278 MB / 0.5384 GB, free: 6.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.001147/0.3975, allocations: 0.9909 MB / 0.5394 GB, free: 5.422 MB / 398.1 MB Notification: Performance of Templates: time 0.01221/0.4098, allocations: 6.962 MB / 0.5462 GB, free: 320 kB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches