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_laminar_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.001529/0.001529, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.002037/0.002037, allocations: 173 kB / 24.14 MB, free: 352 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 1.008/1.008, allocations: 158.6 MB / 186 MB, free: 2.352 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.1688/0.1688, allocations: 32.37 MB / 270.7 MB, free: 14.57 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_laminar_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_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.212e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002318/0.00234, allocations: 1.838 MB / 301 MB, free: 280 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1368/0.1392, allocations: 0.8321 MB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.1393, allocations: 1.469 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1396, allocations: 38.47 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1399, allocations: 81.52 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1402, allocations: 75.34 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1404, allocations: 141.2 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.1404, allocations: 4.516 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1407, allocations: 85.31 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1408, allocations: 81.23 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1408, allocations: 3.906 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.141, allocations: 50.23 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.1411, allocations: 33.09 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1411, allocations: 32.84 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.1414, allocations: 132.8 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1414, allocations: 0 / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1414, allocations: 3.719 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1414, allocations: 1.281 kB / 302.5 MB, free: 19.12 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004048/0.1418, allocations: 303.6 kB / 302.8 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1419, allocations: 8.875 kB / 302.8 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.1422, allocations: 49.88 kB / 302.9 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1423, allocations: 120.7 kB / 303 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1423, allocations: 8.594 kB / 303 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1423, allocations: 13.53 kB / 303 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1425, allocations: 152.5 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1425, allocations: 0 / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1426, allocations: 6.844 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.1426, allocations: 10.52 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.128e-05/0.1427, allocations: 45.84 kB / 303.2 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.1432, allocations: 437.9 kB / 303.7 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1434, allocations: 64.08 kB / 303.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.1434, allocations: 13.59 kB / 303.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1434, allocations: 3.188 kB / 303.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.1434, allocations: 36.2 kB / 303.8 MB, free: 18.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.1434, allocations: 3.938 kB / 303.8 MB, free: 18.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001481/0.1436, allocations: 62.05 kB / 303.8 MB, free: 18.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.1436, allocations: 53.84 kB / 303.9 MB, free: 18.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.1436, allocations: 124.7 kB / 304 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.1437, allocations: 34.52 kB / 304.1 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1437, allocations: 119.5 kB / 304.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1437, allocations: 31.5 kB / 304.2 MB, free: 17.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1438, allocations: 31.62 kB / 304.2 MB, free: 17.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.241e-05/0.1438, allocations: 320 kB / 304.5 MB, free: 17.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.1438, allocations: 8.844 kB / 304.5 MB, free: 17.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.1439, allocations: 70.23 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.144, allocations: 104.1 kB / 304.7 MB, free: 17.36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.144, allocations: 1.125 kB / 304.7 MB, free: 17.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001495/0.1441, allocations: 95.11 kB / 304.8 MB, free: 17.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1441, allocations: 6.25 kB / 304.8 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1441, allocations: 4.031 kB / 304.8 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1441, allocations: 11.09 kB / 304.8 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1443, allocations: 41.83 kB / 304.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1443, allocations: 3.422 kB / 304.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1443, allocations: 15 kB / 304.9 MB, free: 17.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1444, allocations: 5.078 kB / 304.9 MB, free: 17.3 MB / 282.7 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 6.347e-05/0.1444, allocations: 116.3 kB / 305 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.1445, allocations: 12.59 kB / 305 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.1446, allocations: 69.53 kB / 305.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1446, allocations: 9.156 kB / 305.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1446, allocations: 1.438 kB / 305.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1446, allocations: 1.688 kB / 305.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.1447, allocations: 89.81 kB / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1447, allocations: 1.5 kB / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.1448, allocations: 23.09 kB / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1448, allocations: 1.688 kB / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1449, allocations: 3.938 kB / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1449, allocations: 8.609 kB / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1449, allocations: 0 / 305.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.494e-05/0.145, allocations: 156.2 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.145, allocations: 6.859 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.145, allocations: 1.281 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.145, allocations: 7.688 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.1451, allocations: 6.125 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.1451, allocations: 5.781 kB / 305.4 MB, free: 16.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.662e-05/0.1451, allocations: 19.48 kB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1451, allocations: 0 / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000254/0.1454, allocations: 26.3 kB / 305.5 MB, free: 16.9 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 (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.0001313/0.1455, allocations: 86.91 kB / 305.5 MB, free: 16.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1456, allocations: 55.33 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1456, allocations: 1.406 kB / 305.6 MB, free: 16.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/0.1456, allocations: 25.53 kB / 305.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.1458, allocations: 12.72 kB / 305.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.1465, allocations: 254.3 kB / 305.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.1465, allocations: 74.39 kB / 306 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.1466, allocations: 15.28 kB / 306 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.1467, allocations: 59.14 kB / 306 MB, free: 16.5 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1467, allocations: 0 / 306 MB, free: 16.5 MB / 282.7 MB Notification: Performance of Templates: time 0.003644/0.1503, allocations: 0.9468 MB / 307 MB, free: 16.44 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_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.2439320641569793]