Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009739/0.0009739, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9246/0.9246, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2497/0.2497, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.546e-05, allocations: 4.984 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003696/0.003732, allocations: 1.865 MB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.005279, allocations: 0.8177 MB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.005378, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.005638, allocations: 43.7 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.005964, allocations: 79.56 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.006227, allocations: 71.61 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.006456, allocations: 135.4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.006497, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.00677, allocations: 103.6 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.006921, allocations: 75.83 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.006939, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.007092, allocations: 55.89 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.00717, allocations: 31.91 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.007217, allocations: 31.86 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.007489, allocations: 139.5 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.007492, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.007494, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.007498, allocations: 0 / 382.2 MB, free: 14.59 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005257/0.008024, allocations: 428.1 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.008062, allocations: 8.031 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003165/0.008378, allocations: 56.77 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.008542, allocations: 132.4 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.008558, allocations: 12.38 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.008579, allocations: 8.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.00888, allocations: 156.1 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.008896, allocations: 7.938 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.008914, allocations: 7.984 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.008956, allocations: 19.86 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.00908, allocations: 55.95 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.009845, allocations: 0.6301 MB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.01006, allocations: 79.14 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.01009, allocations: 23.69 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.01011, allocations: 0 / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.01013, allocations: 41.33 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.01013, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000172/0.01031, allocations: 77.56 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.01033, allocations: 51.41 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.01043, allocations: 196.8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.01044, allocations: 25.7 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.0105, allocations: 170.8 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.01052, allocations: 27.94 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.01057, allocations: 35.36 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.0107, allocations: 0.4884 MB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.01074, allocations: 11.98 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.01083, allocations: 97.17 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01097, allocations: 125 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01097, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002061/0.01117, allocations: 117.4 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.0112, allocations: 8.188 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.0112, allocations: 8 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.01123, allocations: 4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.01139, allocations: 39.97 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.0114, allocations: 3.938 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.01147, allocations: 15.89 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01148, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.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 0.0001028/0.01158, allocations: 160.6 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.01162, allocations: 15.89 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.01181, allocations: 90.02 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01181, allocations: 3.938 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01182, allocations: 4 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01182, allocations: 0 / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.012, allocations: 144.5 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01201, allocations: 3.984 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.01213, allocations: 23.98 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01213, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01214, allocations: 7.938 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01215, allocations: 4 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01215, allocations: 4 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.01234, allocations: 216.3 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.01236, allocations: 4 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.01237, allocations: 3.938 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.01246, allocations: 7.984 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.0125, allocations: 7.984 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.01251, allocations: 4 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.01257, allocations: 139.2 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01257, allocations: 0 / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000283/0.01286, allocations: 31.95 kB / 386.2 MB, free: 10.23 MB / 362.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.0001576/0.01302, allocations: 99.22 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.0132, allocations: 71.59 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0132, allocations: 0 / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.01324, allocations: 24.17 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01355, allocations: 17.42 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/0.01444, allocations: 254.2 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.321e-05/0.01449, allocations: 71.33 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.238e-05/0.01457, allocations: 20.47 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.01462, allocations: 20.44 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01462, allocations: 0 / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.003501/0.01812, allocations: 0.9176 MB / 387.7 MB, free: 8.723 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_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.2145283282734454]