Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 154.4 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.148/1.148, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1807/0.1807, allocations: 34.88 MB / 297.4 MB, free: 13.42 MB / 282.7 MB " [Timeout remaining time 179] 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_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.723e-05, allocations: 7.969 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002709/0.002736, allocations: 1.88 MB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.004677, allocations: 1.609 MB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.004786, allocations: 3.938 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.005044, allocations: 47.8 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.00536, allocations: 91.39 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.006173, allocations: 418.4 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.006419, allocations: 246.6 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.006474, allocations: 8.594 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.006704, allocations: 143.5 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.00684, allocations: 103.6 kB / 384.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.006861, allocations: 8 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.007353, allocations: 327.2 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.007443, allocations: 75.69 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.007514, allocations: 71.72 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.008115, allocations: 0.5098 MB / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.008118, allocations: 0 / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.00812, allocations: 0 / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.008127, allocations: 0 / 385.6 MB, free: 17.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006303/0.008758, allocations: 0.6669 MB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.008792, allocations: 12.03 kB / 386.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.008862, allocations: 52.73 kB / 386.3 MB, free: 16.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.009019, allocations: 172.2 kB / 386.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.009036, allocations: 24.78 kB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.009059, allocations: 27.98 kB / 386.5 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.009312, allocations: 256.8 kB / 386.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.009323, allocations: 0 / 386.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.00934, allocations: 8 kB / 386.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.00939, allocations: 48.95 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.009543, allocations: 186.8 kB / 387 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.01041, allocations: 0.9079 MB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.01063, allocations: 169 kB / 388.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.01068, allocations: 35.67 kB / 388.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.0107, allocations: 11.98 kB / 388.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.01072, allocations: 37.39 kB / 388.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.01072, allocations: 4 kB / 388.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002533/0.01098, allocations: 177 kB / 388.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.011, allocations: 59.34 kB / 388.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.01108, allocations: 215.5 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.01109, allocations: 33.7 kB / 388.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.01116, allocations: 242.9 kB / 388.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.01119, allocations: 99.19 kB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.01125, allocations: 75.33 kB / 389 MB, free: 13.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.01131, allocations: 0.4923 MB / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.01135, allocations: 33.75 kB / 389.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.01142, allocations: 160.6 kB / 389.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.01155, allocations: 208.9 kB / 389.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01156, allocations: 0 / 389.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002052/0.01176, allocations: 225.2 kB / 390.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01178, allocations: 8 kB / 390.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01178, allocations: 4 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.0118, allocations: 4 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.01208, allocations: 136.2 kB / 390.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006984/0.01278, allocations: 3.585 MB / 393.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01289, allocations: 27.78 kB / 393.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.0129, allocations: 16 kB / 393.9 MB, free: 8.375 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.01299, allocations: 176.8 kB / 394.1 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.01303, allocations: 27.84 kB / 394.1 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.0133, allocations: 244.4 kB / 394.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01331, allocations: 4 kB / 394.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01331, allocations: 0 / 394.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01331, allocations: 0 / 394.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.01348, allocations: 201 kB / 394.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01348, allocations: 4 kB / 394.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.0137, allocations: 123.8 kB / 394.7 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01371, allocations: 3.938 kB / 394.7 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.01372, allocations: 12 kB / 394.7 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006437/0.01437, allocations: 3.581 MB / 398.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01437, allocations: 0 / 398.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.01459, allocations: 339.9 kB / 398.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01461, allocations: 15.84 kB / 398.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.01463, allocations: 8.25 kB / 398.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.01469, allocations: 8 kB / 398.6 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.01474, allocations: 27.95 kB / 398.7 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.01476, allocations: 8 kB / 398.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.0148, allocations: 144.9 kB / 398.8 MB, free: 3.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0148, allocations: 0 / 398.8 MB, free: 3.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.01525, allocations: 183.1 kB / 399 MB, free: 3.125 MB / 314.7 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003462/0.0156, allocations: 238.6 kB / 399.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.01591, allocations: 196.6 kB / 399.4 MB, free: 2.684 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01592, allocations: 4.062 kB / 399.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.01605, allocations: 131.5 kB / 399.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.01626, allocations: 20 kB / 399.6 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.01707, allocations: 0.5341 MB / 400.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.141e-05/0.01712, allocations: 112.3 kB / 400.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.01722, allocations: 53.75 kB / 400.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.0173, allocations: 102.2 kB / 400.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of SimCode: time 9.61e-07/0.0173, allocations: 0 / 400.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of Templates: time 0.007479/0.02478, allocations: 5.267 MB / 405.6 MB, free: 12.48 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.105741530656815]