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.001159/0.001159, 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.001196/0.001197, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.399/1.399, 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.2055/0.2055, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3452, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003127/0.3484, allocations: 1.818 MB / 0.5214 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.3522, allocations: 2.859 MB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.3523, allocations: 5.031 kB / 0.5242 GB, free: 396 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3526, allocations: 43.55 kB / 0.5242 GB, free: 376 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.353, allocations: 87.33 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3547, allocations: 0.7252 MB / 0.525 GB, free: 36 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.3551, allocations: 241.3 kB / 0.5252 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.493e-05/0.3552, allocations: 26.28 kB / 0.5253 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3554, allocations: 112.2 kB / 0.5254 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.3556, allocations: 118.3 kB / 0.5255 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.3556, allocations: 7.938 kB / 0.5255 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.3576, allocations: 1.21 MB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.3577, allocations: 72.42 kB / 0.5267 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3579, allocations: 113.5 kB / 0.5268 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3592, allocations: 0.9153 MB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3592, allocations: 0 / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3592, allocations: 0 / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3592, allocations: 1.188 kB / 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.001079/0.3603, allocations: 0.6643 MB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3604, allocations: 12.67 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.3604, allocations: 33.34 kB / 0.5284 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3608, allocations: 234.9 kB / 0.5287 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3608, allocations: 23.48 kB / 0.5287 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.3609, allocations: 28.5 kB / 0.5287 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.3617, allocations: 466.5 kB / 0.5291 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3617, allocations: 5.672 kB / 0.5292 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.3618, allocations: 13.3 kB / 0.5292 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.5e-05/0.3618, allocations: 46.97 kB / 0.5292 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008752/0.3627, allocations: 0.5482 MB / 0.5297 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.3647, allocations: 1.306 MB / 0.531 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.3653, allocations: 280.3 kB / 0.5313 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.3655, allocations: 98.69 kB / 0.5314 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3655, allocations: 11.41 kB / 0.5314 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3656, allocations: 39.72 kB / 0.5314 GB, free: 11.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.3656, allocations: 1.25 kB / 0.5314 GB, free: 11.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007904/0.3664, allocations: 332.9 kB / 0.5318 GB, free: 11.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.3664, allocations: 58.38 kB / 0.5318 GB, free: 11.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3665, allocations: 137.3 kB / 0.5319 GB, free: 11.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3666, allocations: 26.95 kB / 0.532 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3667, allocations: 207.5 kB / 0.5322 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.3668, allocations: 82.19 kB / 0.5322 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3669, allocations: 71.83 kB / 0.5323 GB, free: 11.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.367, allocations: 322.9 kB / 0.5326 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.3673, allocations: 86.64 kB / 0.5327 GB, free: 10.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.3675, allocations: 174.1 kB / 0.5329 GB, free: 10.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.3681, allocations: 287.1 kB / 0.5331 GB, free: 10.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3681, allocations: 1 kB / 0.5331 GB, free: 10.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006278/0.3687, allocations: 327.6 kB / 0.5335 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3687, allocations: 9.625 kB / 0.5335 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3687, allocations: 2.312 kB / 0.5335 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3688, allocations: 4.844 kB / 0.5335 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.3693, allocations: 130.7 kB / 0.5336 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.3707, allocations: 2.364 MB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3709, allocations: 34.02 kB / 0.5359 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.3709, allocations: 20.06 kB / 0.536 GB, free: 7.871 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.0002302/0.3712, allocations: 176.5 kB / 0.5361 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.3712, allocations: 10.78 kB / 0.5361 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008806/0.3721, allocations: 368.6 kB / 0.5365 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3721, allocations: 1.094 kB / 0.5365 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3721, allocations: 0 / 0.5365 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.3722, allocations: 98.09 kB / 0.5366 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.3722, allocations: 9.062 kB / 0.5366 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3724, allocations: 9.5 kB / 0.5366 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.3725, allocations: 22.72 kB / 0.5366 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009536/0.3735, allocations: 460 kB / 0.5371 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008387/0.3743, allocations: 0.578 MB / 0.5376 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002418/0.3746, allocations: 117.4 kB / 0.5377 GB, free: 6.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.513e-05/0.3746, allocations: 99.81 kB / 0.5378 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.3746, allocations: 0 / 0.5378 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3764, allocations: 0.5347 MB / 0.5384 GB, free: 6.285 MB / 398.1 MB Notification: Performance of SimCode: time 0.001252/0.3777, allocations: 0.9706 MB / 0.5393 GB, free: 5.477 MB / 398.1 MB Notification: Performance of Templates: time 0.01256/0.3902, allocations: 6.969 MB / 0.5461 GB, free: 376 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