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_laminar_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.0017/0.0017, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00141/0.00141, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2416/0.2416, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_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.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 59.91 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 66.03 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003069/0.2837, allocations: 1.781 MB / 0.5636 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2851, allocations: 0.7683 MB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.2851, allocations: 0 / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.2853, allocations: 43.75 kB / 0.5644 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.2856, allocations: 71.64 kB / 0.5644 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.2858, allocations: 75.67 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.286, allocations: 135.5 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.286, allocations: 11.97 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.2862, allocations: 71.69 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2864, allocations: 83.77 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2864, allocations: 7.938 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2865, allocations: 51.97 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.2866, allocations: 35.83 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2866, allocations: 35.8 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2869, allocations: 137.8 kB / 0.5651 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2869, allocations: 4 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2869, allocations: 0 / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2869, allocations: 0 / 0.5651 GB, free: 0.8125 MB / 398.1 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.0005707/0.2874, allocations: 337.9 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2875, allocations: 8.031 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.2878, allocations: 32.81 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.288, allocations: 138.3 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.288, allocations: 12.38 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.288, allocations: 12.12 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.2884, allocations: 172.1 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2884, allocations: 4 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.2884, allocations: 7.984 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.2885, allocations: 11.98 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.2888, allocations: 135.8 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.2897, allocations: 0.5198 MB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.29, allocations: 106.6 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.2901, allocations: 36.83 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2902, allocations: 0 / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2902, allocations: 34.56 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2902, allocations: 4 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004592/0.2907, allocations: 145.7 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2907, allocations: 51.41 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.2908, allocations: 133.6 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2908, allocations: 25.7 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.2909, allocations: 128.2 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2909, allocations: 23.8 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.291, allocations: 37.66 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2911, allocations: 318.8 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2912, allocations: 39.95 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2914, allocations: 94.59 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.2917, allocations: 147.5 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2917, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003514/0.292, allocations: 153.6 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2921, allocations: 12.03 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2921, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2921, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.2923, allocations: 39.97 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2923, allocations: 3.938 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.2924, allocations: 27.88 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2924, allocations: 8 kB / 0.5679 GB, free: 13.65 MB / 414.1 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.0001093/0.2925, allocations: 129.7 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.2925, allocations: 11.95 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.2929, allocations: 125.9 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2929, allocations: 7.984 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2929, allocations: 0 / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2929, allocations: 0 / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.2931, allocations: 133.2 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2931, allocations: 11.81 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.2932, allocations: 27.98 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2932, allocations: 0 / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2932, allocations: 4 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2932, allocations: 4 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.2933, allocations: 3.984 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.2936, allocations: 207.4 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.2936, allocations: 11.89 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2936, allocations: 0 / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2937, allocations: 11.98 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.2938, allocations: 11.98 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2938, allocations: 0 / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.175e-05/0.2938, allocations: 95.27 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2938, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.2941, allocations: 27.94 kB / 0.5687 GB, free: 12.77 MB / 414.1 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.0001212/0.2942, allocations: 95.25 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.2945, allocations: 99.8 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2945, allocations: 0 / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2947, allocations: 39.97 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.2949, allocations: 14.75 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.2954, allocations: 252 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.535e-05/0.2955, allocations: 93.31 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.2956, allocations: 33.06 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.2956, allocations: 15.44 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2956, allocations: 0 / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.003765/0.2994, allocations: 1.036 MB / 0.5703 GB, free: 11.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.980433548989822]