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_laminar_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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 113.9 kB / 18.46 MB, free: 4.609 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.001588/0.001588, allocations: 186.1 kB / 19.39 MB, free: 3.688 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.395/1.395, 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.2068/0.2068, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002642/0.3375, allocations: 1.793 MB / 0.5213 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3386, allocations: 0.8019 MB / 0.5221 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.3387, allocations: 1.094 kB / 0.5221 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3389, allocations: 39.83 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.3392, allocations: 74.23 kB / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.3394, allocations: 68.11 kB / 0.5223 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3396, allocations: 132.6 kB / 0.5224 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.3396, allocations: 14.5 kB / 0.5224 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3398, allocations: 71.73 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3399, allocations: 82.2 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.34, allocations: 5.188 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3401, allocations: 70.88 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.3402, allocations: 29.98 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.3403, allocations: 42.94 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3406, allocations: 140.8 kB / 0.5229 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3406, allocations: 0 / 0.5229 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3406, allocations: 4 kB / 0.5229 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3406, allocations: 1.406 kB / 0.5229 GB, free: 1.516 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004764/0.3411, allocations: 404.6 kB / 0.5233 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3411, allocations: 9.25 kB / 0.5233 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.3414, allocations: 39.27 kB / 0.5233 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3416, allocations: 184.1 kB / 0.5235 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3416, allocations: 8.781 kB / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3416, allocations: 15.09 kB / 0.5235 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.342, allocations: 183 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.342, allocations: 0 / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.342, allocations: 5.453 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.342, allocations: 9.656 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.3424, allocations: 144.1 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.3431, allocations: 0.6383 MB / 0.5245 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3434, allocations: 106.8 kB / 0.5246 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3436, allocations: 40.97 kB / 0.5246 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3436, allocations: 0.5625 kB / 0.5246 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.3436, allocations: 32.81 kB / 0.5246 GB, free: 96 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3436, allocations: 7.938 kB / 0.5246 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004314/0.3441, allocations: 139.7 kB / 0.5248 GB, free: 28 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3441, allocations: 53.09 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.3442, allocations: 125.3 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3442, allocations: 27.94 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.3443, allocations: 117 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3443, allocations: 29.58 kB / 0.5251 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.3444, allocations: 35.33 kB / 0.5251 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.3445, allocations: 319 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3446, allocations: 39.11 kB / 0.5255 GB, free: 15.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3448, allocations: 95.7 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.345, allocations: 147.8 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3451, allocations: 6.125 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003334/0.3454, allocations: 162.4 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3454, allocations: 5.5 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3454, allocations: 3.406 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3455, allocations: 6.688 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.3456, allocations: 37 kB / 0.5259 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3457, allocations: 7.344 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3458, allocations: 19.09 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3458, allocations: 9.5 kB / 0.526 GB, free: 15.04 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 9.153e-05/0.3459, allocations: 133.6 kB / 0.5261 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3459, allocations: 7.266 kB / 0.5261 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.3463, allocations: 126.1 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3463, allocations: 1.547 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3463, allocations: 0.6094 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3463, allocations: 88.39 kB / 0.5263 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3464, allocations: 9.031 kB / 0.5263 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3465, allocations: 6.016 kB / 0.5263 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3465, allocations: 9.219 kB / 0.5263 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003941/0.3469, allocations: 201.8 kB / 0.5265 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003175/0.3472, allocations: 291.1 kB / 0.5268 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001295/0.3474, allocations: 38.88 kB / 0.5268 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.3474, allocations: 97.67 kB / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3475, allocations: 0 / 0.5269 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.348, allocations: 170.8 kB / 0.5271 GB, free: 14.2 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005881/0.3486, allocations: 0.6974 MB / 0.5278 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Templates: time 0.003878/0.3525, allocations: 1.415 MB / 0.5291 GB, free: 12.97 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches