Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009119/0.0009119, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.158/1.158, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2732/0.2732, allocations: 32.81 MB / 294.6 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.039e-05, allocations: 6.969 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002747/0.002768, allocations: 1.929 MB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.005809, allocations: 2.874 MB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.00587, allocations: 4 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.006076, allocations: 39.75 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.006327, allocations: 95.36 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.007419, allocations: 0.7203 MB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.007625, allocations: 254.6 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.007671, allocations: 14.56 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.007863, allocations: 139.5 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.007992, allocations: 107.6 kB / 329.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.00801, allocations: 8 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007052/0.008716, allocations: 0.6313 MB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.008787, allocations: 67.7 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.008845, allocations: 75.72 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.009571, allocations: 0.7941 MB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.009573, allocations: 0 / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009575, allocations: 0 / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.00958, allocations: 0 / 331 MB, free: 1.871 MB / 298.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.0005463/0.01013, allocations: 0.5696 MB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.01016, allocations: 8.031 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.01022, allocations: 40.89 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.01042, allocations: 169.3 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.01043, allocations: 20.78 kB / 331.8 MB, free: 1.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.01046, allocations: 31.98 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.01073, allocations: 275.6 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.01074, allocations: 3.938 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.01075, allocations: 12 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-05/0.0108, allocations: 52.95 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.01096, allocations: 162.9 kB / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.01183, allocations: 0.7903 MB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.01203, allocations: 138 kB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.01207, allocations: 32.84 kB / 333.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.0121, allocations: 4 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01212, allocations: 42.56 kB / 333.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.452e-06/0.01212, allocations: 0 / 333.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002057/0.01233, allocations: 135.5 kB / 333.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.01235, allocations: 59.41 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.01243, allocations: 157.2 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.01245, allocations: 33.69 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.01252, allocations: 192.2 kB / 333.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.01256, allocations: 91.2 kB / 334 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.01262, allocations: 65.61 kB / 334.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.01269, allocations: 322.8 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.01272, allocations: 27.92 kB / 334.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.01279, allocations: 116.3 kB / 334.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.01295, allocations: 186.2 kB / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01296, allocations: 0 / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002568/0.01321, allocations: 169.4 kB / 334.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01323, allocations: 4 kB / 334.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01324, allocations: 7.938 kB / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01325, allocations: 4 kB / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.01358, allocations: 132.2 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009174/0.0145, allocations: 2.354 MB / 337.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.01457, allocations: 31.78 kB / 337.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01458, allocations: 8 kB / 337.4 MB, free: 11.12 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.216e-05/0.01467, allocations: 140.8 kB / 337.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.01469, allocations: 15.92 kB / 337.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.01496, allocations: 215.7 kB / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01496, allocations: 4 kB / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01496, allocations: 0 / 337.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01497, allocations: 3.984 kB / 337.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.01513, allocations: 153.7 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01513, allocations: 0 / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.01539, allocations: 115.9 kB / 338.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01539, allocations: 4 kB / 338.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.01541, allocations: 15.92 kB / 338.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006343/0.01604, allocations: 2.345 MB / 340.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01604, allocations: 256 / 340.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.0162, allocations: 238.2 kB / 340.7 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01621, allocations: 23.83 kB / 340.7 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01623, allocations: 4 kB / 340.7 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.01629, allocations: 8 kB / 340.7 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.01633, allocations: 23.95 kB / 340.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.01634, allocations: 8 kB / 340.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.683e-05/0.01636, allocations: 16.84 kB / 340.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01636, allocations: 0 / 340.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003601/0.01672, allocations: 250.8 kB / 341 MB, free: 7.402 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.0004478/0.01717, allocations: 376.3 kB / 341.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.01744, allocations: 169.9 kB / 341.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.01744, allocations: 4 kB / 341.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01759, allocations: 113.2 kB / 341.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.01775, allocations: 19.19 kB / 341.7 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.01852, allocations: 0.5528 MB / 342.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.002e-05/0.01858, allocations: 108.3 kB / 342.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.0187, allocations: 49.81 kB / 342.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.01878, allocations: 79.36 kB / 342.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01878, allocations: 0 / 342.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of Templates: time 0.008468/0.02725, allocations: 7.152 MB / 349.6 MB, free: 14.79 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_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: 3.467429295182228]