Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001017/0.001017, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.00211/0.00211, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8921/0.8921, allocations: 158.6 MB / 186 MB, free: 2.742 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1324/0.1324, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.546e-05, allocations: 2.312 kB / 299.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002303/0.002319, allocations: 1.885 MB / 301 MB, free: 268 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.1427, allocations: 1.637 MB / 302.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.1428, allocations: 0.8438 kB / 302.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.143, allocations: 44.38 kB / 302.7 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1433, allocations: 83.09 kB / 302.7 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.1443, allocations: 411 kB / 303.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1446, allocations: 251 kB / 303.4 MB, free: 18.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.1447, allocations: 14.25 kB / 303.4 MB, free: 18.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.145, allocations: 141.2 kB / 303.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1451, allocations: 105.8 kB / 303.6 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.1452, allocations: 7.25 kB / 303.6 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1458, allocations: 303.1 kB / 303.9 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1459, allocations: 80.09 kB / 304 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.146, allocations: 67.83 kB / 304.1 MB, free: 18.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008106/0.1468, allocations: 0.4996 MB / 304.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1468, allocations: 3.938 kB / 304.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1468, allocations: 1.188 kB / 304.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1468, allocations: 0 / 304.6 MB, free: 18.59 MB / 282.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.0007053/0.1475, allocations: 0.5172 MB / 305.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1475, allocations: 10.36 kB / 305.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.1476, allocations: 43.39 kB / 305.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.1478, allocations: 159.4 kB / 305.3 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1478, allocations: 18.5 kB / 305.3 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1478, allocations: 28.7 kB / 305.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.1482, allocations: 280.4 kB / 305.6 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1482, allocations: 1.156 kB / 305.6 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1482, allocations: 9.375 kB / 305.7 MB, free: 17.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/0.1483, allocations: 51.19 kB / 305.7 MB, free: 17.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.1485, allocations: 168.2 kB / 305.9 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.1495, allocations: 0.7803 MB / 306.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1497, allocations: 136.1 kB / 306.8 MB, free: 17.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.1497, allocations: 38.27 kB / 306.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1498, allocations: 7.078 kB / 306.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1498, allocations: 42.11 kB / 306.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.1498, allocations: 1.312 kB / 306.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002177/0.15, allocations: 133.7 kB / 307 MB, free: 17.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.15, allocations: 55.55 kB / 307 MB, free: 17.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.1501, allocations: 139.7 kB / 307.2 MB, free: 17.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1501, allocations: 34.95 kB / 307.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.1502, allocations: 199.9 kB / 307.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.1502, allocations: 93.08 kB / 307.5 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.1503, allocations: 66.73 kB / 307.6 MB, free: 16.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.1503, allocations: 327.4 kB / 307.9 MB, free: 16.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.1504, allocations: 28.42 kB / 307.9 MB, free: 16.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.1505, allocations: 124.5 kB / 308 MB, free: 16.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1506, allocations: 182.7 kB / 308.2 MB, free: 16.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1506, allocations: 0.5156 kB / 308.2 MB, free: 16.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001913/0.1508, allocations: 177.1 kB / 308.4 MB, free: 16.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1508, allocations: 5.156 kB / 308.4 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1508, allocations: 4.156 kB / 308.4 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1508, allocations: 4.281 kB / 308.4 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.1511, allocations: 114.3 kB / 308.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004814/0.1516, allocations: 2.35 MB / 310.9 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.1517, allocations: 35.25 kB / 310.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1517, allocations: 11.23 kB / 310.9 MB, free: 13.76 MB / 282.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.681e-05/0.1518, allocations: 134.2 kB / 311 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1519, allocations: 17.97 kB / 311.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.1522, allocations: 208.1 kB / 311.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1522, allocations: 4.812 kB / 311.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1522, allocations: 5 kB / 311.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1522, allocations: 1.266 kB / 311.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1524, allocations: 153.2 kB / 311.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1524, allocations: 0 / 311.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.1527, allocations: 103 kB / 311.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1527, allocations: 1.125 kB / 311.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1527, allocations: 10.92 kB / 311.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004398/0.1532, allocations: 2.359 MB / 313.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1532, allocations: 1.188 kB / 313.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.1534, allocations: 226.3 kB / 314.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1534, allocations: 19.39 kB / 314.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1534, allocations: 7.516 kB / 314.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.1535, allocations: 7.969 kB / 314.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1535, allocations: 21.98 kB / 314.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1535, allocations: 14.72 kB / 314.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.1535, allocations: 19.48 kB / 314.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1535, allocations: 0 / 314.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004339/0.154, allocations: 169.6 kB / 314.4 MB, free: 10.74 MB / 282.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.0003306/0.1543, allocations: 226.8 kB / 314.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.1546, allocations: 178.9 kB / 314.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1546, allocations: 1.469 kB / 314.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1548, allocations: 107.6 kB / 314.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.1549, allocations: 23.62 kB / 314.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.1558, allocations: 0.5333 MB / 315.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.1559, allocations: 112.8 kB / 315.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.156, allocations: 51.7 kB / 315.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.1561, allocations: 82.19 kB / 315.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1561, allocations: 0 / 315.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of Templates: time 0.007766/0.1639, allocations: 5.114 MB / 320.8 MB, free: 8.012 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.444155162665993]