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.001503/0.001503, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002328, allocations: 79.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3982, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003159/0.4014, allocations: 1.813 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.4029, allocations: 0.8327 MB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.4029, allocations: 1.375 kB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.4032, allocations: 37.39 kB / 0.5336 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.4035, allocations: 82.69 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.4037, allocations: 68.3 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.4039, allocations: 130.8 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.4039, allocations: 5.5 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.4042, allocations: 78.05 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4043, allocations: 75.36 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4043, allocations: 4.125 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.4045, allocations: 71.62 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.4046, allocations: 37.45 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.4047, allocations: 42.86 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4049, allocations: 135.6 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4049, allocations: 5.312 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4049, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.405, allocations: 0 / 0.5343 GB, free: 11.09 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.0005964/0.4056, allocations: 406.6 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4056, allocations: 12.69 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/0.4059, allocations: 35.12 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4061, allocations: 182.7 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4062, allocations: 12.11 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4062, allocations: 16.16 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.4066, allocations: 178.3 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4066, allocations: 1.281 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.4066, allocations: 9.266 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.4067, allocations: 15.61 kB / 0.5352 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.407, allocations: 139 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.4079, allocations: 0.6373 MB / 0.5359 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.4083, allocations: 112.8 kB / 0.536 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.4084, allocations: 40.86 kB / 0.5361 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4084, allocations: 0 / 0.5361 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4085, allocations: 43.44 kB / 0.5361 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4085, allocations: 0 / 0.5361 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004292/0.4089, allocations: 133 kB / 0.5362 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.409, allocations: 52.47 kB / 0.5363 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.4091, allocations: 138.8 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.4091, allocations: 25.7 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.4092, allocations: 121.6 kB / 0.5366 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.4092, allocations: 27.98 kB / 0.5366 GB, free: 9.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.4093, allocations: 31.91 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4094, allocations: 320.2 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4095, allocations: 33.12 kB / 0.537 GB, free: 8.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.4097, allocations: 98.25 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4099, allocations: 147 kB / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.41, allocations: 0 / 0.5372 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003346/0.4103, allocations: 157.6 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4103, allocations: 6.406 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4103, allocations: 2.219 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4104, allocations: 7.281 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4105, allocations: 41.22 kB / 0.5374 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4106, allocations: 7.25 kB / 0.5374 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.4106, allocations: 15.56 kB / 0.5374 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.4107, allocations: 9.688 kB / 0.5374 GB, free: 8.336 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.0001121/0.4108, allocations: 134.4 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.4108, allocations: 7.125 kB / 0.5376 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.4112, allocations: 128.8 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4112, allocations: 0 / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4112, allocations: 5.344 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4112, allocations: 4 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.4114, allocations: 197.6 kB / 0.5379 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4114, allocations: 0 / 0.5379 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.4116, allocations: 25.14 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4116, allocations: 0 / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4116, allocations: 5.219 kB / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4116, allocations: 1.156 kB / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4116, allocations: 0 / 0.5379 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4119, allocations: 224.4 kB / 0.5381 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.412, allocations: 83.3 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.412, allocations: 1.125 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.4121, allocations: 8.547 kB / 0.5382 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.4122, allocations: 6.219 kB / 0.5382 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4122, allocations: 6.141 kB / 0.5382 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.752e-05/0.4123, allocations: 92.8 kB / 0.5383 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4123, allocations: 4 kB / 0.5383 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.4125, allocations: 31.47 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001848/0.4127, allocations: 99.7 kB / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.4131, allocations: 103.7 kB / 0.5385 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4131, allocations: 0 / 0.5385 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.4132, allocations: 41.75 kB / 0.5386 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4135, allocations: 9.938 kB / 0.5386 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.4141, allocations: 248.3 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4145, allocations: 0.7138 MB / 0.5395 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.543e-05/0.4146, allocations: 26.48 kB / 0.5395 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.4147, allocations: 15.72 kB / 0.5396 GB, free: 6.402 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4147, allocations: 5.219 kB / 0.5396 GB, free: 6.398 MB / 398.1 MB Notification: Performance of Templates: time 0.003991/0.4187, allocations: 0.9563 MB / 0.5405 GB, free: 5.934 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/jenkins/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/jenkins/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