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.001151/0.001151, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001205/0.001205, allocations: 170.7 kB / 25.61 MB, free: 8.895 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 0.9933/0.9933, allocations: 177.1 MB / 206.1 MB, free: 4.52 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.1353/0.1353, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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 1.963e-06/1.963e-06, allocations: 3.984 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.295e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.001715/0.001728, allocations: 1.88 MB / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.004, allocations: 2.82 MB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.00408, allocations: 0 / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.004303, allocations: 47.69 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.004548, allocations: 79.52 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.0057, allocations: 0.7468 MB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.005877, allocations: 254.6 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.005917, allocations: 12.59 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.006071, allocations: 135.5 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.006174, allocations: 107.6 kB / 385.4 MB, free: 17.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.00619, allocations: 8 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.006797, allocations: 0.6157 MB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.006857, allocations: 75.64 kB / 386.1 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.006911, allocations: 71.7 kB / 386.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006221/0.007533, allocations: 0.7785 MB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.007536, allocations: 4 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007536, allocations: 0 / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.00754, allocations: 0 / 386.9 MB, free: 15.73 MB / 314.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.0005218/0.008061, allocations: 0.721 MB / 387.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.008089, allocations: 12.03 kB / 387.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.008144, allocations: 48.75 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.008268, allocations: 180.1 kB / 387.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.008283, allocations: 28.77 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.008306, allocations: 24 kB / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.008531, allocations: 252.8 kB / 388.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.008542, allocations: 0 / 388.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.008558, allocations: 12 kB / 388.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.008598, allocations: 40.97 kB / 388.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.008751, allocations: 198.8 kB / 388.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007514/0.009503, allocations: 0.8962 MB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.0097, allocations: 163.4 kB / 389.5 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.009741, allocations: 39.61 kB / 389.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.009764, allocations: 16 kB / 389.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.009779, allocations: 41.36 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.00978, allocations: 0 / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002248/0.01001, allocations: 175.7 kB / 389.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/0.01002, allocations: 63.34 kB / 389.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/0.01008, allocations: 204.8 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.01009, allocations: 33.7 kB / 390.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.01013, allocations: 250.8 kB / 390.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.01016, allocations: 91.2 kB / 390.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.01022, allocations: 79.31 kB / 390.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.01026, allocations: 0.4962 MB / 391 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.01029, allocations: 37.75 kB / 391 MB, free: 11.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.01035, allocations: 153.7 kB / 391.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.01047, allocations: 209.3 kB / 391.4 MB, free: 11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01047, allocations: 0 / 391.4 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002092/0.01068, allocations: 219.4 kB / 391.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.0107, allocations: 10.19 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.0107, allocations: 4 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.01071, allocations: 8.328 kB / 391.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.011, allocations: 131.9 kB / 391.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004415/0.01145, allocations: 3.585 MB / 395.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.01152, allocations: 32.02 kB / 395.3 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01154, allocations: 20 kB / 395.4 MB, free: 6.879 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 6.936e-05/0.01161, allocations: 172.5 kB / 395.5 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.01164, allocations: 27.84 kB / 395.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.01191, allocations: 247.6 kB / 395.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01191, allocations: 4 kB / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01191, allocations: 0 / 395.8 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01192, allocations: 3.984 kB / 395.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.01206, allocations: 193 kB / 396 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01206, allocations: 7.938 kB / 396 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.01227, allocations: 119.9 kB / 396.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01227, allocations: 3.938 kB / 396.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01228, allocations: 11.98 kB / 396.1 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004165/0.0127, allocations: 3.577 MB / 399.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0127, allocations: 0 / 399.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01295, allocations: 340 kB / 400 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.01297, allocations: 23.77 kB / 400.1 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.01299, allocations: 8 kB / 400.1 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01311, allocations: 4 kB / 400.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.01316, allocations: 23.95 kB / 400.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.01317, allocations: 8 kB / 400.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.01321, allocations: 135.2 kB / 400.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01321, allocations: 0 / 400.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000582/0.01379, allocations: 254.6 kB / 400.5 MB, free: 1.574 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.000568/0.01436, allocations: 386 kB / 400.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.01462, allocations: 200.6 kB / 401.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01462, allocations: 0 / 401.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.01476, allocations: 140 kB / 401.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01494, allocations: 22.83 kB / 401.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.01558, allocations: 0.524 MB / 401.7 MB, free: 276 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.01562, allocations: 116.3 kB / 401.9 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.01572, allocations: 49.8 kB / 401.9 MB, free: 92 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.01581, allocations: 98.25 kB / 402 MB, free: 15.99 MB / 330.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01581, allocations: 0 / 402 MB, free: 15.99 MB / 330.7 MB Notification: Performance of Templates: time 0.008415/0.02422, allocations: 7.227 MB / 409.2 MB, free: 8.816 MB / 330.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.423625397030264]