Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001022/0.001022, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009546/0.0009546, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9917/0.9917, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.115e-05, allocations: 9.688 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002668/0.002689, allocations: 1.892 MB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.005955, allocations: 2.878 MB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.00605, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.006373, allocations: 47.69 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.006661, allocations: 87.44 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.008148, allocations: 0.7391 MB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.008472, allocations: 250.6 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.008532, allocations: 12.59 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.008842, allocations: 143.5 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.009011, allocations: 103.6 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.009036, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.01012, allocations: 0.6158 MB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.01025, allocations: 75.62 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.01035, allocations: 71.72 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.01166, allocations: 0.7863 MB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01166, allocations: 0 / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01167, allocations: 0 / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.01168, allocations: 4 kB / 385.8 MB, free: 10.88 MB / 362.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.0009266/0.0126, allocations: 0.7094 MB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.01265, allocations: 16.02 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.01276, allocations: 52.7 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.01297, allocations: 176.1 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.013, allocations: 28.77 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.01303, allocations: 24 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.01343, allocations: 292.8 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01344, allocations: 0 / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.01346, allocations: 11.98 kB / 387.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.115e-05/0.01352, allocations: 44.97 kB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.01381, allocations: 249.8 kB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01504, allocations: 0.9659 MB / 388.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.01535, allocations: 175.1 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.01542, allocations: 47.61 kB / 388.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.01545, allocations: 15.98 kB / 388.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.01548, allocations: 37.39 kB / 388.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.01548, allocations: 0 / 388.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003415/0.01582, allocations: 198.8 kB / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.01586, allocations: 59.28 kB / 388.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.01597, allocations: 205.9 kB / 389 MB, free: 7.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.01601, allocations: 29.7 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.01613, allocations: 246.8 kB / 389.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.01619, allocations: 91.61 kB / 389.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.01627, allocations: 79.3 kB / 389.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01641, allocations: 0.504 MB / 390 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.01648, allocations: 43.83 kB / 390 MB, free: 6.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.01695, allocations: 157.7 kB / 390.2 MB, free: 6.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.01715, allocations: 228.2 kB / 390.4 MB, free: 5.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.01716, allocations: 4 kB / 390.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002695/0.01743, allocations: 229.3 kB / 390.6 MB, free: 5.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01744, allocations: 4 kB / 390.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01745, allocations: 4.344 kB / 390.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.01746, allocations: 8 kB / 390.6 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.0178, allocations: 131.8 kB / 390.8 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.01892, allocations: 3.585 MB / 394.4 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01902, allocations: 35.81 kB / 394.4 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.01904, allocations: 15.98 kB / 394.4 MB, free: 1.781 MB / 362.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.000115/0.01916, allocations: 184.3 kB / 394.6 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.01919, allocations: 23.91 kB / 394.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.01956, allocations: 267.1 kB / 394.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01956, allocations: 4 kB / 394.9 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01957, allocations: 0 / 394.9 MB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.01957, allocations: 3.984 kB / 394.9 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01979, allocations: 260.3 kB / 395.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01979, allocations: 0 / 395.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.02003, allocations: 123.9 kB / 395.3 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.02004, allocations: 0 / 395.3 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.02005, allocations: 8 kB / 395.3 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.02126, allocations: 3.577 MB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02126, allocations: 8.188 kB / 398.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.02154, allocations: 339.8 kB / 399.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.02156, allocations: 15.84 kB / 399.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.02158, allocations: 4 kB / 399.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.02165, allocations: 11.98 kB / 399.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.0217, allocations: 23.91 kB / 399.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.02171, allocations: 8 kB / 399.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.02176, allocations: 146.1 kB / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02176, allocations: 0 / 399.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005497/0.02231, allocations: 254.7 kB / 399.6 MB, free: 12.37 MB / 378.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.0005334/0.02284, allocations: 377.9 kB / 400 MB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.02321, allocations: 220.7 kB / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02321, allocations: 0 / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.02338, allocations: 140 kB / 400.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.02362, allocations: 23 kB / 400.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.02459, allocations: 0.5291 MB / 400.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.02466, allocations: 120.2 kB / 401 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.02481, allocations: 89.73 kB / 401.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.02487, allocations: 32.48 kB / 401.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02487, allocations: 0 / 401.1 MB, free: 10.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01046/0.03533, allocations: 7.377 MB / 408.5 MB, free: 3.469 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.4322252310812473]