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.001246/0.001246, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 204.8 kB / 19.41 MB, free: 3.672 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 / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 79.86 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3995, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003978/0.4036, allocations: 1.795 MB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.4053, allocations: 0.8392 MB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.4055, allocations: 1.375 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.4058, allocations: 41.33 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.4062, allocations: 76.14 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.4065, allocations: 72.3 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.4068, allocations: 126.8 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.4069, allocations: 9.484 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.4072, allocations: 82 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.4074, allocations: 75.41 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4074, allocations: 5.5 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.4076, allocations: 70.25 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.4077, allocations: 29.47 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.4078, allocations: 46.86 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.4082, allocations: 135.7 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4082, allocations: 1.375 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4082, allocations: 0 / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4082, 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.000692/0.4089, allocations: 410.1 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.409, allocations: 13.56 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.4094, allocations: 34.47 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4096, allocations: 183.1 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.4096, allocations: 8.625 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.4097, allocations: 18.48 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.4101, allocations: 179.7 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4102, allocations: 1.125 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.4102, allocations: 5.281 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.4102, allocations: 14.89 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.4106, allocations: 131.9 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.4116, allocations: 0.6413 MB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.412, allocations: 108.5 kB / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4121, allocations: 36.36 kB / 0.5367 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.4122, allocations: 0 / 0.5367 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4122, allocations: 52.78 kB / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.4122, allocations: 0 / 0.5368 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004651/0.4127, allocations: 139.8 kB / 0.5369 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4127, allocations: 52.47 kB / 0.537 GB, free: 9.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.4129, allocations: 134.7 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4129, allocations: 34.8 kB / 0.5371 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.413, allocations: 117.1 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.413, allocations: 27.61 kB / 0.5372 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.4131, allocations: 31.62 kB / 0.5373 GB, free: 8.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4132, allocations: 317.1 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4134, allocations: 36.78 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.4135, allocations: 101.1 kB / 0.5377 GB, free: 8.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.4138, allocations: 145.6 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4138, allocations: 1.125 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003603/0.4142, allocations: 165.2 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4142, allocations: 6.375 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4142, allocations: 6.688 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4143, allocations: 2.688 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.4145, allocations: 38 kB / 0.5381 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4145, allocations: 6.781 kB / 0.5381 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4146, allocations: 23.97 kB / 0.5381 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.4146, allocations: 5.469 kB / 0.5381 GB, free: 8.301 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.000123/0.4147, allocations: 130 kB / 0.5382 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.4148, allocations: 7.031 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.4151, allocations: 127.9 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4151, allocations: 1.219 kB / 0.5384 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4151, allocations: 5.031 kB / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4152, allocations: 0 / 0.5384 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.4154, allocations: 197.4 kB / 0.5385 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4154, allocations: 1.406 kB / 0.5385 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.4156, allocations: 24.17 kB / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.4156, allocations: 1.188 kB / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4156, allocations: 0 / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4156, allocations: 1.031 kB / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4156, allocations: 0 / 0.5386 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.416, allocations: 225.2 kB / 0.5388 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.416, allocations: 83.27 kB / 0.5389 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.4161, allocations: 1.25 kB / 0.5389 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.4162, allocations: 7.641 kB / 0.5389 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.4162, allocations: 6.391 kB / 0.5389 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4162, allocations: 2.281 kB / 0.5389 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.4163, allocations: 104.7 kB / 0.539 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4163, allocations: 0 / 0.539 GB, free: 7.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.4166, allocations: 27.34 kB / 0.539 GB, free: 7.461 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.0001709/0.4168, allocations: 103.7 kB / 0.5391 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.4171, allocations: 102.1 kB / 0.5392 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4171, allocations: 0 / 0.5392 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4172, allocations: 41.69 kB / 0.5392 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4175, allocations: 13.95 kB / 0.5393 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.4181, allocations: 278.5 kB / 0.5395 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4185, allocations: 0.7123 MB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.4185, allocations: 16.53 kB / 0.5402 GB, free: 6.355 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4185, allocations: 0.8438 kB / 0.5402 GB, free: 6.355 MB / 398.1 MB Notification: Performance of Templates: time 0.003882/0.4224, allocations: 1.305 MB / 0.5415 GB, free: 5.695 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