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.001477/0.001477, allocations: 117.2 kB / 17.78 MB, free: 5.301 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: 203.8 kB / 18.74 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, 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.2357/0.2357, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.86 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4419, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003173/0.4451, allocations: 1.806 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4466, allocations: 0.8315 MB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.4466, allocations: 1.375 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.4469, allocations: 41.31 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.4472, allocations: 72.16 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.4474, allocations: 76.28 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.4476, allocations: 130.8 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.4477, allocations: 5.5 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.4479, allocations: 76.64 kB / 0.534 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.448, allocations: 72.78 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.4481, allocations: 8.109 kB / 0.5341 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4482, allocations: 70.27 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.4483, allocations: 34.84 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.4484, allocations: 41.48 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.4487, allocations: 137.7 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4487, allocations: 0 / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4487, allocations: 3.938 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.4487, allocations: 1.375 kB / 0.5343 GB, free: 11.12 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.0005887/0.4493, allocations: 411.9 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.4494, allocations: 9.375 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.4498, allocations: 49.83 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.4499, allocations: 182.6 kB / 0.535 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.45, allocations: 13.27 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.45, allocations: 11.28 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.4504, allocations: 179.9 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4504, allocations: 0 / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4505, allocations: 1.156 kB / 0.5352 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.4505, allocations: 19.83 kB / 0.5352 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.4509, allocations: 131.1 kB / 0.5353 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.4518, allocations: 0.6485 MB / 0.5359 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.4521, allocations: 105.4 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4522, allocations: 36.14 kB / 0.5361 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4523, allocations: 5.094 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4523, allocations: 43.53 kB / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4523, allocations: 0 / 0.5361 GB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004662/0.4528, allocations: 135.6 kB / 0.5362 GB, free: 9.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4528, allocations: 52.59 kB / 0.5363 GB, free: 9.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.453, allocations: 127.1 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.453, allocations: 29.7 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.4531, allocations: 129.7 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.4531, allocations: 27.69 kB / 0.5366 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.4532, allocations: 28.34 kB / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4533, allocations: 316.9 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4535, allocations: 37.22 kB / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.4536, allocations: 97.88 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.4539, allocations: 145.7 kB / 0.5372 GB, free: 8.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4539, allocations: 1.031 kB / 0.5372 GB, free: 8.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003584/0.4543, allocations: 165.1 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4543, allocations: 6.75 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4543, allocations: 5.312 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4543, allocations: 3.906 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4545, allocations: 38.06 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.4545, allocations: 6.906 kB / 0.5374 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.4546, allocations: 27.47 kB / 0.5374 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.4547, allocations: 5.797 kB / 0.5374 GB, free: 8.348 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.0001119/0.4548, allocations: 126.4 kB / 0.5376 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.4548, allocations: 7.203 kB / 0.5376 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.4552, allocations: 128.4 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4552, allocations: 5.125 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4552, allocations: 0 / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4552, allocations: 3.984 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.4554, allocations: 205.7 kB / 0.5379 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4555, allocations: 0 / 0.5379 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.4556, allocations: 29.36 kB / 0.5379 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4556, allocations: 1.125 kB / 0.5379 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4556, allocations: 3.984 kB / 0.5379 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4556, allocations: 1.094 kB / 0.5379 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4556, allocations: 4 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.456, allocations: 209.4 kB / 0.5381 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.4561, allocations: 83.25 kB / 0.5382 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.4561, allocations: 8.953 kB / 0.5382 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.4562, allocations: 3.625 kB / 0.5382 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.4563, allocations: 11 kB / 0.5382 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4563, allocations: 6.094 kB / 0.5382 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.251e-05/0.4564, allocations: 92.61 kB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4564, allocations: 1.188 kB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.4567, allocations: 27.2 kB / 0.5383 GB, free: 7.5 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.000238/0.4569, allocations: 99.06 kB / 0.5384 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.4573, allocations: 105.8 kB / 0.5385 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4573, allocations: 0 / 0.5385 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4575, allocations: 41.88 kB / 0.5386 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4578, allocations: 10.17 kB / 0.5386 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.4583, allocations: 250.2 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4587, allocations: 0.7063 MB / 0.5395 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.985e-05/0.4588, allocations: 34.64 kB / 0.5396 GB, free: 6.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.4588, allocations: 16.75 kB / 0.5396 GB, free: 6.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4588, allocations: 0 / 0.5396 GB, free: 6.418 MB / 398.1 MB Notification: Performance of Templates: time 0.00434/0.4632, allocations: 0.9462 MB / 0.5405 GB, free: 5.957 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