Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 115.5 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.001711/0.001711, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 75.89 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3671, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003206/0.3703, allocations: 1.812 MB / 0.5335 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3718, allocations: 0.8282 MB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.3719, allocations: 1.344 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.3721, allocations: 44.84 kB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.3724, allocations: 83.19 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3726, allocations: 61.47 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3728, allocations: 133 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.3729, allocations: 6.312 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3731, allocations: 80.92 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.3733, allocations: 72.48 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3733, allocations: 4.594 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.3735, allocations: 70.14 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.3736, allocations: 42.06 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.3737, allocations: 39.06 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3739, allocations: 136.5 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3739, allocations: 4 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.374, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.374, allocations: 1.375 kB / 0.535 GB, free: 11.07 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000638/0.3746, allocations: 406.1 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3747, allocations: 8.25 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.375, allocations: 42.61 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3752, allocations: 185.9 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3752, allocations: 5.875 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3753, allocations: 15 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3757, allocations: 179.2 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3757, allocations: 0 / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.3757, allocations: 13.36 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.3758, allocations: 8.25 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.3761, allocations: 135.2 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3772, allocations: 0.6404 MB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.3775, allocations: 105.5 kB / 0.5367 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3777, allocations: 44.2 kB / 0.5367 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3777, allocations: 0.9375 kB / 0.5367 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3777, allocations: 43.52 kB / 0.5368 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3777, allocations: 0 / 0.5368 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000461/0.3782, allocations: 132.5 kB / 0.5369 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3782, allocations: 51.41 kB / 0.537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3784, allocations: 139.9 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3784, allocations: 25.7 kB / 0.5371 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.3785, allocations: 121.6 kB / 0.5372 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3786, allocations: 23 kB / 0.5373 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.3787, allocations: 35.8 kB / 0.5373 GB, free: 8.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3789, allocations: 317.2 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.379, allocations: 37.42 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3792, allocations: 100 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3795, allocations: 142.2 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3795, allocations: 3.938 kB / 0.5379 GB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003331/0.3798, allocations: 154.8 kB / 0.538 GB, free: 8.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3798, allocations: 5.344 kB / 0.538 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3799, allocations: 6 kB / 0.538 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.3799, allocations: 3.469 kB / 0.538 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3801, allocations: 42.25 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3801, allocations: 10.16 kB / 0.5381 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3802, allocations: 19.64 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3802, allocations: 5.438 kB / 0.5381 GB, free: 8.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.3804, allocations: 134.7 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3804, allocations: 7.438 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.3807, allocations: 136.8 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3807, allocations: 0 / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3807, allocations: 0 / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3808, allocations: 83.64 kB / 0.5384 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3808, allocations: 5.406 kB / 0.5384 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3809, allocations: 10.86 kB / 0.5385 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.381, allocations: 10.94 kB / 0.5385 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003926/0.3814, allocations: 214 kB / 0.5387 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003374/0.3817, allocations: 282.9 kB / 0.5389 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000114/0.3819, allocations: 42.33 kB / 0.539 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.3819, allocations: 92.52 kB / 0.5391 GB, free: 7.469 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.3819, allocations: 1.344 kB / 0.5391 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.3825, allocations: 172.2 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007718/0.3833, allocations: 0.676 MB / 0.5399 GB, free: 6.715 MB / 398.1 MB Notification: Performance of Templates: time 0.004398/0.3877, allocations: 1.443 MB / 0.5413 GB, free: 5.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches