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.001144/0.001144, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4288, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003136/0.432, allocations: 1.811 MB / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4334, allocations: 0.8286 MB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.4335, allocations: 5.312 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.4337, allocations: 37.39 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.434, allocations: 88.06 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.4342, allocations: 64.36 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.4344, allocations: 129.3 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.4345, allocations: 6.875 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.4347, allocations: 76.69 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4348, allocations: 80.66 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.4349, allocations: 4.125 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.435, allocations: 78.25 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.4351, allocations: 26.91 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.4352, allocations: 49.41 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.4354, allocations: 137.4 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.4354, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4354, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.4354, allocations: 0 / 0.5343 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.0005674/0.436, allocations: 410.2 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.436, allocations: 10.19 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.4364, allocations: 38.56 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.4366, allocations: 181.7 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.4366, allocations: 9.062 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.4366, allocations: 11.72 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.437, allocations: 179 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.437, allocations: 5.219 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4371, allocations: 9.172 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.4371, allocations: 14.8 kB / 0.5352 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.4374, allocations: 127.7 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.4383, allocations: 0.6454 MB / 0.5359 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.4386, allocations: 112 kB / 0.536 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.4387, allocations: 40.11 kB / 0.5361 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4387, allocations: 1.438 kB / 0.5361 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4388, allocations: 39.88 kB / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.4388, allocations: 0 / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004295/0.4392, allocations: 135.5 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4393, allocations: 52.56 kB / 0.5363 GB, free: 9.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4394, allocations: 139.7 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4394, allocations: 25.7 kB / 0.5364 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.4395, allocations: 121.2 kB / 0.5366 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4395, allocations: 27.3 kB / 0.5366 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.4396, allocations: 32.19 kB / 0.5366 GB, free: 8.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4397, allocations: 317.4 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4398, allocations: 36.56 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.44, allocations: 96.3 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.4402, allocations: 147 kB / 0.5372 GB, free: 8.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4403, allocations: 0 / 0.5372 GB, free: 8.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003424/0.4406, allocations: 153.2 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4406, allocations: 10.67 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4406, allocations: 5.938 kB / 0.5373 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4407, allocations: 7.344 kB / 0.5374 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.4408, allocations: 37.52 kB / 0.5374 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4409, allocations: 11.3 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.441, allocations: 19.47 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.441, allocations: 5.438 kB / 0.5374 GB, free: 8.32 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.0001031/0.4411, allocations: 134.1 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.4411, allocations: 7.156 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.4415, allocations: 128.9 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.4415, allocations: 1.344 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4415, allocations: 3.938 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4415, allocations: 5.469 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.4417, allocations: 200 kB / 0.5379 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4418, allocations: 0.9375 kB / 0.5379 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.4419, allocations: 25.2 kB / 0.5379 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4419, allocations: 0 / 0.5379 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4419, allocations: 1.156 kB / 0.5379 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4419, allocations: 1.125 kB / 0.5379 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4419, allocations: 4.078 kB / 0.5379 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.4423, allocations: 216.4 kB / 0.5381 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.4423, allocations: 83.2 kB / 0.5382 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4424, allocations: 5.062 kB / 0.5382 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.4425, allocations: 8.078 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.4425, allocations: 11.09 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4425, allocations: 2.156 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.4426, allocations: 93.11 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4426, allocations: 0 / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.4429, allocations: 31.59 kB / 0.5383 GB, free: 7.469 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.0001582/0.4431, allocations: 103.2 kB / 0.5384 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.4434, allocations: 98.67 kB / 0.5385 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4434, allocations: 3.938 kB / 0.5385 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4435, allocations: 37.06 kB / 0.5386 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.4438, allocations: 18.02 kB / 0.5386 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.4443, allocations: 252.3 kB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4447, allocations: 0.7092 MB / 0.5395 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.4448, allocations: 35.08 kB / 0.5396 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.4448, allocations: 15.84 kB / 0.5396 GB, free: 6.379 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4448, allocations: 0 / 0.5396 GB, free: 6.379 MB / 398.1 MB Notification: Performance of Templates: time 0.003601/0.4484, allocations: 0.934 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