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_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000746/0.000746, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001813, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006164/0.0006164, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009192/0.001536, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9855/0.9855, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1713/1.157, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.1539/0.1539, allocations: 32.8 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02187/0.1757, allocations: 12.54 MB / 284.5 MB, free: 9.699 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[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_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.779e-05, allocations: 5.406 kB / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003597/0.003625, allocations: 1.906 MB / 287.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004923, allocations: 0.7983 MB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.22e-05/0.005006, allocations: 4 kB / 288.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.005196, allocations: 39.7 kB / 288.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.005472, allocations: 87.5 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.005712, allocations: 67.67 kB / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.005929, allocations: 131.4 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.005981, allocations: 11.92 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.006208, allocations: 103.7 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.006388, allocations: 79.83 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.006407, allocations: 4 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.006588, allocations: 51.91 kB / 289.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.006665, allocations: 27.92 kB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.006708, allocations: 19.94 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.006979, allocations: 127.5 kB / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.006994, allocations: 0 / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.006995, allocations: 0 / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.007007, allocations: 0 / 289.3 MB, free: 4.914 MB / 282.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.0005802/0.007587, allocations: 316.2 kB / 289.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.007626, allocations: 12.03 kB / 289.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.00798, allocations: 133.9 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.008168, allocations: 121.7 kB / 289.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.008184, allocations: 4.375 kB / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.008213, allocations: 16.36 kB / 289.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.008494, allocations: 147.2 kB / 290 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.008505, allocations: 3.938 kB / 290 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.008526, allocations: 8 kB / 290.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.008562, allocations: 8 kB / 290.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.00865, allocations: 39.91 kB / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.009315, allocations: 443 kB / 290.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.009539, allocations: 57.38 kB / 290.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.009571, allocations: 16.86 kB / 290.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.009588, allocations: 4.156 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.009622, allocations: 46.53 kB / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.009623, allocations: 0 / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001729/0.009796, allocations: 57.56 kB / 290.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.009834, allocations: 55.41 kB / 290.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.009943, allocations: 130.2 kB / 290.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.009961, allocations: 29.7 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.01004, allocations: 120 kB / 291 MB, free: 3.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.01007, allocations: 35.67 kB / 291.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.01012, allocations: 29.7 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01023, allocations: 322.8 kB / 291.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.01026, allocations: 8 kB / 291.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.01032, allocations: 75.64 kB / 291.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.01044, allocations: 98.72 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01044, allocations: 4 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002144/0.01066, allocations: 101.4 kB / 291.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.01068, allocations: 4 kB / 291.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01069, allocations: 4 kB / 291.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.01071, allocations: 7.938 kB / 291.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.01091, allocations: 48.16 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01092, allocations: 11.98 kB / 291.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.01099, allocations: 11.89 kB / 291.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.011, allocations: 4 kB / 291.8 MB, free: 2.184 MB / 282.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.0001069/0.01111, allocations: 116.7 kB / 291.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.01113, allocations: 7.984 kB / 291.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.01126, allocations: 66.05 kB / 292 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01126, allocations: 7.938 kB / 292 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.01126, allocations: 0 / 292 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01127, allocations: 7.984 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01138, allocations: 93.8 kB / 292.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.01138, allocations: 0 / 292.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.01148, allocations: 27.97 kB / 292.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.01149, allocations: 7.953 kB / 292.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.01149, allocations: 0 / 292.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.01149, allocations: 4 kB / 292.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01149, allocations: 3.938 kB / 292.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.0115, allocations: 0 / 292.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.254e-05/0.01159, allocations: 159.5 kB / 292.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.0116, allocations: 0 / 292.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.198e-05/0.01165, allocations: 3.984 kB / 292.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.01168, allocations: 11.94 kB / 292.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.01169, allocations: 3.984 kB / 292.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.073e-05/0.01171, allocations: 20.84 kB / 292.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01171, allocations: 0 / 292.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.01186, allocations: 27.89 kB / 292.3 MB, free: 1.574 MB / 282.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.0001211/0.01198, allocations: 88.41 kB / 292.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.01207, allocations: 52.7 kB / 292.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.01208, allocations: 4 kB / 292.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.01211, allocations: 24.84 kB / 292.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.01228, allocations: 49.69 kB / 292.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.01364, allocations: 267 kB / 292.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.01368, allocations: 71.33 kB / 292.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.01371, allocations: 12.5 kB / 292.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.01377, allocations: 55.38 kB / 293 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01378, allocations: 0 / 293 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of Templates: time 0.002459/0.01623, allocations: 0.9211 MB / 293.9 MB, free: 16 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.773036024533212]