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_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.001204/0.001204, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001381/0.001381, allocations: 169 kB / 24.24 MB, free: 312 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.006/1.006, allocations: 158.6 MB / 186 MB, free: 2.918 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.1565/0.1565, allocations: 32.37 MB / 270.7 MB, free: 14.77 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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.993e-05, allocations: 6.312 kB / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003434/0.003464, allocations: 1.886 MB / 349.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003977/0.00744, allocations: 2.821 MB / 352.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.007584, allocations: 0 / 352.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.007889, allocations: 43.69 kB / 352.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.008267, allocations: 91.45 kB / 352.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.01028, allocations: 0.7274 MB / 353.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.01066, allocations: 246.6 kB / 353.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.01073, allocations: 16.52 kB / 353.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.01098, allocations: 135.5 kB / 353.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.01114, allocations: 111.6 kB / 353.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.01117, allocations: 8 kB / 353.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.01233, allocations: 0.5846 MB / 354.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.01245, allocations: 71.7 kB / 354.4 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.01257, allocations: 75.72 kB / 354.5 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.01411, allocations: 0.7668 MB / 355.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01412, allocations: 0 / 355.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01412, allocations: 4 kB / 355.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.01413, allocations: 0 / 355.3 MB, free: 2.145 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.001008/0.01514, allocations: 0.7133 MB / 356 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.01519, allocations: 8.031 kB / 356 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.01531, allocations: 52.7 kB / 356 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.01558, allocations: 180.2 kB / 356.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.0156, allocations: 28.77 kB / 356.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.01564, allocations: 20 kB / 356.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.01618, allocations: 288.8 kB / 356.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.0162, allocations: 3.984 kB / 356.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.01623, allocations: 16 kB / 356.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.987e-05/0.01631, allocations: 48.95 kB / 356.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.01668, allocations: 249.8 kB / 356.9 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.01831, allocations: 0.9582 MB / 357.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.01873, allocations: 182.1 kB / 358 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.01883, allocations: 43.67 kB / 358 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.01887, allocations: 15.98 kB / 358.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.0189, allocations: 33.39 kB / 358.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 2.544e-06/0.0189, allocations: 0 / 358.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004813/0.01938, allocations: 203.6 kB / 358.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.01942, allocations: 59.33 kB / 358.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.01957, allocations: 205.8 kB / 358.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01959, allocations: 25.7 kB / 358.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.01972, allocations: 254.8 kB / 358.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.0198, allocations: 95.59 kB / 358.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.0199, allocations: 79.31 kB / 359 MB, free: 14.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.02005, allocations: 0.5001 MB / 359.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.02015, allocations: 31.98 kB / 359.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.02031, allocations: 171.9 kB / 359.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.02059, allocations: 224.9 kB / 359.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02059, allocations: 0 / 359.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004032/0.02099, allocations: 241.4 kB / 360.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.02102, allocations: 8 kB / 360.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02103, allocations: 0 / 360.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.02105, allocations: 4 kB / 360.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.0215, allocations: 135.8 kB / 360.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.02294, allocations: 3.585 MB / 363.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.02308, allocations: 27.78 kB / 363.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.02311, allocations: 23.92 kB / 363.9 MB, free: 9.047 MB / 298.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 0.0001314/0.02324, allocations: 180.4 kB / 364.1 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.0233, allocations: 19.91 kB / 364.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.0238, allocations: 262.8 kB / 364.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.02381, allocations: 3.984 kB / 364.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.02381, allocations: 0 / 364.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.02382, allocations: 7.984 kB / 364.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.02412, allocations: 256.3 kB / 364.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.02413, allocations: 4 kB / 364.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.0245, allocations: 115.9 kB / 364.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.0245, allocations: 0 / 364.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.02452, allocations: 12 kB / 364.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.02579, allocations: 3.581 MB / 368.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.02579, allocations: 3.938 kB / 368.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.02618, allocations: 340.8 kB / 368.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.02621, allocations: 15.84 kB / 368.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.02624, allocations: 8 kB / 368.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02636, allocations: 7.984 kB / 368.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.02643, allocations: 27.91 kB / 368.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.02645, allocations: 15.98 kB / 368.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.104e-05/0.02653, allocations: 142.1 kB / 368.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02653, allocations: 4.125 kB / 368.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008362/0.02736, allocations: 242.8 kB / 369.1 MB, free: 3.645 MB / 298.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.003704/0.03107, allocations: 365.9 kB / 369.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004467/0.03151, allocations: 219.6 kB / 369.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.03151, allocations: 0 / 369.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.03175, allocations: 135.5 kB / 369.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.03204, allocations: 23.98 kB / 369.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.03317, allocations: 0.5307 MB / 370.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.09e-05/0.03325, allocations: 112.3 kB / 370.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.03346, allocations: 93.7 kB / 370.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.03353, allocations: 32.44 kB / 370.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03353, allocations: 0 / 370.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of Templates: time 0.0221/0.05563, allocations: 6.101 MB / 376.7 MB, free: 12.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_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.709627073025331]