Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009688/0.0009688, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.0009767/0.0009767, allocations: 169 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9439/0.9439, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1454/0.1454, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 4 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.332e-05, allocations: 2.312 kB / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002992/0.003016, allocations: 1.864 MB / 349.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004423, allocations: 0.815 MB / 350.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004524, allocations: 7.938 kB / 350.4 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.004866, allocations: 39.7 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.005178, allocations: 79.5 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.005402, allocations: 67.73 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.005599, allocations: 135.3 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.837e-05/0.005667, allocations: 7.984 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.005867, allocations: 91.72 kB / 350.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.006038, allocations: 79.77 kB / 350.9 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.006061, allocations: 4 kB / 350.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.006197, allocations: 55.89 kB / 350.9 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.006278, allocations: 35.84 kB / 351 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.006329, allocations: 27.92 kB / 351 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.006599, allocations: 135.5 kB / 351.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.006602, allocations: 0 / 351.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006604, allocations: 0 / 351.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.006611, allocations: 0 / 351.1 MB, free: 6.293 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.000553/0.007164, allocations: 436.2 kB / 351.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.007209, allocations: 8.031 kB / 351.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.007537, allocations: 48.78 kB / 351.6 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.007704, allocations: 140.4 kB / 351.8 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.007724, allocations: 4.375 kB / 351.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.007752, allocations: 12.38 kB / 351.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.008043, allocations: 153.9 kB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.008056, allocations: 7.875 kB / 351.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.008075, allocations: 7.984 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.008114, allocations: 12 kB / 351.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.008246, allocations: 51.95 kB / 352 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.008926, allocations: 0.6377 MB / 352.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.009165, allocations: 79.2 kB / 352.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.00921, allocations: 19.69 kB / 352.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.009227, allocations: 8 kB / 352.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.009252, allocations: 41.31 kB / 352.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.009254, allocations: 0 / 352.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002368/0.00949, allocations: 73.58 kB / 352.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.009522, allocations: 55.41 kB / 352.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.009626, allocations: 185.9 kB / 353.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.00964, allocations: 25.7 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.009713, allocations: 178.9 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.009734, allocations: 23.8 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.009786, allocations: 39.36 kB / 353.4 MB, free: 3.867 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.009857, allocations: 496.1 kB / 353.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.009896, allocations: 19.98 kB / 353.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.009968, allocations: 99.36 kB / 354 MB, free: 3.219 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.01009, allocations: 117 kB / 354.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01009, allocations: 0 / 354.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001792/0.01027, allocations: 121.4 kB / 354.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01029, allocations: 11.94 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.0103, allocations: 400 / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01031, allocations: 4 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.01045, allocations: 35.97 kB / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.01046, allocations: 8.188 kB / 354.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.01053, allocations: 23.89 kB / 354.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01054, allocations: 4 kB / 354.3 MB, free: 2.855 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 7.453e-05/0.01062, allocations: 160.6 kB / 354.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.01065, allocations: 11.89 kB / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01082, allocations: 94 kB / 354.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.01082, allocations: 3.984 kB / 354.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01082, allocations: 0 / 354.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01083, allocations: 0 / 354.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.01097, allocations: 148.6 kB / 354.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01097, allocations: 4 kB / 354.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.01106, allocations: 23.98 kB / 354.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.01107, allocations: 4 kB / 354.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01108, allocations: 3.938 kB / 354.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01108, allocations: 0 / 354.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.01108, allocations: 0 / 354.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.01122, allocations: 223.8 kB / 354.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.01123, allocations: 11.92 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01125, allocations: 3.938 kB / 354.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.01132, allocations: 8 kB / 355 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.01136, allocations: 11.98 kB / 355 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.01136, allocations: 0 / 355 MB, free: 2.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.0114, allocations: 135.2 kB / 355.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0114, allocations: 3.938 kB / 355.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.01171, allocations: 23.95 kB / 355.1 MB, free: 1.93 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.0001532/0.01187, allocations: 99.25 kB / 355.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01205, allocations: 63.53 kB / 355.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01205, allocations: 0 / 355.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.643e-05/0.0121, allocations: 31.67 kB / 355.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.01242, allocations: 12 kB / 355.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.0133, allocations: 253.8 kB / 355.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.01335, allocations: 75.33 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.091e-05/0.01344, allocations: 20.47 kB / 355.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.0135, allocations: 20.48 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.0135, allocations: 0 / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of Templates: time 0.004087/0.01758, allocations: 0.9268 MB / 356.6 MB, free: 432 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2597809210419655]