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.001448/0.001448, allocations: 115 kB / 18.46 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 215.9 kB / 19.42 MB, free: 3.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 79.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3337, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00291/0.3367, allocations: 1.806 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.338, allocations: 0.8389 MB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.3381, allocations: 1.375 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3383, allocations: 41.31 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3386, allocations: 76.16 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3388, allocations: 72.3 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.339, allocations: 131 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.339, allocations: 5.875 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.3393, allocations: 81.06 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.3395, allocations: 72.66 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3395, allocations: 7.688 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.3397, allocations: 70.39 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.3398, allocations: 34.58 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.3398, allocations: 42.05 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.3401, allocations: 137.8 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3401, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3401, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3401, allocations: 0 / 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.0006037/0.3408, allocations: 412.5 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3408, allocations: 13.09 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.3411, allocations: 33.94 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3413, allocations: 190.6 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3413, allocations: 9.438 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3414, allocations: 14.92 kB / 0.5357 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.3417, allocations: 179.7 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3418, allocations: 4 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3418, allocations: 1.312 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.3418, allocations: 12.11 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.3422, allocations: 135.2 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008689/0.343, allocations: 0.6492 MB / 0.5366 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3434, allocations: 100.4 kB / 0.5367 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3436, allocations: 44.27 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3436, allocations: 0.9688 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3436, allocations: 39.72 kB / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.3436, allocations: 0 / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005134/0.3441, allocations: 143.6 kB / 0.5369 GB, free: 9.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3442, allocations: 56.5 kB / 0.537 GB, free: 9.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3443, allocations: 126.7 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3444, allocations: 30.77 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.3444, allocations: 125.2 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3445, allocations: 27 kB / 0.5373 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.3445, allocations: 28.41 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3447, allocations: 321 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3448, allocations: 32.97 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3449, allocations: 102.3 kB / 0.5377 GB, free: 8.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3452, allocations: 137.6 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3452, allocations: 5 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003663/0.3456, allocations: 169.4 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3456, allocations: 8.812 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3456, allocations: 6.094 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3457, allocations: 3.188 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.3458, allocations: 41.75 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3459, allocations: 7.406 kB / 0.5381 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.346, allocations: 19.88 kB / 0.5381 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.346, allocations: 8.688 kB / 0.5381 GB, free: 8.297 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.0001039/0.3461, allocations: 126.5 kB / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3461, allocations: 7.266 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.3465, allocations: 129.1 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3465, allocations: 0 / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3465, allocations: 0 / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.3466, allocations: 92.17 kB / 0.5385 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3466, allocations: 8 kB / 0.5385 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.3467, allocations: 4.094 kB / 0.5385 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.3467, allocations: 10.8 kB / 0.5385 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003975/0.3472, allocations: 209.8 kB / 0.5387 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000329/0.3475, allocations: 283.9 kB / 0.5389 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001183/0.3476, allocations: 37.88 kB / 0.539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.3477, allocations: 96.67 kB / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.3477, allocations: 0 / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006745/0.3484, allocations: 174.9 kB / 0.5392 GB, free: 7.348 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006792/0.3491, allocations: 0.6834 MB / 0.5399 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Templates: time 0.004851/0.3539, allocations: 1.427 MB / 0.5413 GB, free: 5.988 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