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_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.0009521/0.0009521, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009551/0.0009551, allocations: 174.5 kB / 24.92 MB, free: 8.77 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2903/0.2903, allocations: 32.81 MB / 294.6 MB, free: 1.199 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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.109e-05, allocations: 5.016 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002251/0.002272, allocations: 1.894 MB / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.004298, allocations: 1.652 MB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.004373, allocations: 0 / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.004605, allocations: 51.67 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.004874, allocations: 83.52 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.005663, allocations: 415 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.005898, allocations: 246.6 kB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.00595, allocations: 18.56 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.00617, allocations: 143.4 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.0063, allocations: 99.69 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.00632, allocations: 8 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.006778, allocations: 327.1 kB / 328.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.006865, allocations: 79.69 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.00693, allocations: 71.66 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.007504, allocations: 0.5137 MB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.007505, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007506, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.00751, allocations: 0 / 328.8 MB, free: 4.109 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.0006339/0.008144, allocations: 0.5123 MB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.008176, allocations: 12.03 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.008236, allocations: 40.89 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.008406, allocations: 165.3 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.008424, allocations: 20.78 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.008453, allocations: 27.98 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.008759, allocations: 283.5 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.008768, allocations: 0 / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.008785, allocations: 8 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.008838, allocations: 44.97 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.009011, allocations: 170.9 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.009964, allocations: 0.7942 MB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.01018, allocations: 138 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.01022, allocations: 40.83 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.01025, allocations: 4 kB / 331.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.01028, allocations: 42.55 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.01028, allocations: 0 / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002162/0.01049, allocations: 135.5 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.01052, allocations: 55.41 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.01063, allocations: 157.8 kB / 331.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.01064, allocations: 25.7 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.01074, allocations: 196.2 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.01079, allocations: 95.19 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.01086, allocations: 65.62 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.01094, allocations: 322.8 kB / 332.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.01098, allocations: 27.97 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.01106, allocations: 116.3 kB / 332.3 MB, free: 456 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.0112, allocations: 178.3 kB / 332.4 MB, free: 240 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01121, allocations: 4 kB / 332.4 MB, free: 236 kB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001868/0.01139, allocations: 181.3 kB / 332.6 MB, free: 48 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01141, allocations: 10.34 kB / 332.6 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01141, allocations: 0 / 332.6 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01143, allocations: 4 kB / 332.6 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.01173, allocations: 115.9 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.0125, allocations: 2.351 MB / 335.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.01259, allocations: 31.78 kB / 335.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01261, allocations: 12 kB / 335.1 MB, free: 13.43 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.879e-05/0.0127, allocations: 124.6 kB / 335.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.01273, allocations: 24.17 kB / 335.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.01299, allocations: 215.7 kB / 335.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.013, allocations: 7.984 kB / 335.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.013, allocations: 4 kB / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.013, allocations: 0 / 335.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.01316, allocations: 149.7 kB / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01317, allocations: 0 / 335.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.01338, allocations: 99.94 kB / 335.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01338, allocations: 0 / 335.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.0134, allocations: 15.92 kB / 335.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006668/0.01406, allocations: 2.357 MB / 338.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01406, allocations: 0 / 338.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01423, allocations: 234.2 kB / 338.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.01424, allocations: 19.83 kB / 338.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01427, allocations: 8 kB / 338.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.01433, allocations: 8 kB / 338.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.01437, allocations: 20.17 kB / 338.4 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.01437, allocations: 8 kB / 338.4 MB, free: 9.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.107e-05/0.0144, allocations: 24.84 kB / 338.4 MB, free: 9.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0144, allocations: 0 / 338.4 MB, free: 9.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.01471, allocations: 171.2 kB / 338.6 MB, free: 9.801 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.0002903/0.015, allocations: 236.5 kB / 338.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.01526, allocations: 169.2 kB / 339 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.01527, allocations: 0 / 339 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01541, allocations: 117.8 kB / 339.1 MB, free: 9.277 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.01555, allocations: 27.25 kB / 339.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007755/0.01633, allocations: 0.5409 MB / 339.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.01639, allocations: 112.2 kB / 339.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.01651, allocations: 45.81 kB / 339.8 MB, free: 8.504 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.01659, allocations: 83.36 kB / 339.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01659, allocations: 0 / 339.9 MB, free: 8.422 MB / 314.7 MB Notification: Performance of Templates: time 0.0068/0.02339, allocations: 5.18 MB / 345.1 MB, free: 3.305 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_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.468083381652832]