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.001204/0.001204, 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.001405/0.001405, allocations: 214.8 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2337/0.2337, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.001974/0.001974, allocations: 75.88 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003076/0.3516, allocations: 1.784 MB / 0.5636 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.353, allocations: 0.7606 MB / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.353, allocations: 0 / 0.5643 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.3532, allocations: 43.75 kB / 0.5644 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.3535, allocations: 75.64 kB / 0.5644 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.3537, allocations: 71.67 kB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3539, allocations: 135.5 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.3539, allocations: 7.984 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3541, allocations: 75.67 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3542, allocations: 91.64 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3542, allocations: 4 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3544, allocations: 51.98 kB / 0.5649 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.3544, allocations: 35.83 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.3545, allocations: 35.8 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3547, allocations: 137.9 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3547, allocations: 0 / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3547, allocations: 0 / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3547, allocations: 0 / 0.5651 GB, free: 0.8711 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.0005635/0.3553, allocations: 341.8 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3553, allocations: 15.91 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.3557, allocations: 40.81 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3558, allocations: 126.5 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3559, allocations: 4.375 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3559, allocations: 16.12 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.3563, allocations: 176.1 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3563, allocations: 0 / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3563, allocations: 7.984 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.3563, allocations: 11.98 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.3567, allocations: 139.8 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.3575, allocations: 0.512 MB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3579, allocations: 102.6 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3581, allocations: 36.83 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3581, allocations: 7.984 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.3581, allocations: 42.5 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3581, allocations: 0 / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004956/0.3586, allocations: 129.7 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3587, allocations: 59.39 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3588, allocations: 133.3 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3588, allocations: 29.7 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.3589, allocations: 120.1 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3589, allocations: 31.78 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.359, allocations: 29.67 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3591, allocations: 318.8 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.3593, allocations: 35.97 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3594, allocations: 95.62 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.3597, allocations: 147.8 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3597, allocations: 3.938 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003392/0.36, allocations: 161.4 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.36, allocations: 8 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.36, allocations: 0 / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3601, allocations: 8 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3602, allocations: 39.97 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3603, allocations: 7.938 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.3604, allocations: 15.89 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3604, allocations: 12.2 kB / 0.5679 GB, free: 13.71 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.0001032/0.3605, allocations: 129.7 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.3605, allocations: 11.94 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.3608, allocations: 125.9 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3608, allocations: 4 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3608, allocations: 0 / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3608, allocations: 3.938 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.361, allocations: 133.2 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.361, allocations: 7.938 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3612, allocations: 27.97 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3612, allocations: 0 / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3612, allocations: 8 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3612, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3612, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3616, allocations: 211.4 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.3616, allocations: 11.89 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3616, allocations: 4 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3617, allocations: 7.984 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.3617, allocations: 8 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3618, allocations: 3.984 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.719e-05/0.3618, allocations: 95.27 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3618, allocations: 0 / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3621, allocations: 27.94 kB / 0.5687 GB, free: 12.83 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.0001352/0.3622, allocations: 99.25 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.3625, allocations: 95.8 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3625, allocations: 0 / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3626, allocations: 39.97 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.3629, allocations: 17.91 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.3634, allocations: 255.4 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.3635, allocations: 97.3 kB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.3635, allocations: 32.45 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.3636, allocations: 11.44 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3636, allocations: 0 / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of Templates: time 0.003736/0.3673, allocations: 1.043 MB / 0.5703 GB, free: 11.15 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 cvode -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: 5.093377318000421]