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.001391/0.001391, allocations: 107.6 kB / 21.19 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.001528/0.001528, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2888/0.2888, allocations: 46.96 MB / 361.6 MB, free: 4.098 MB / 286.1 MB " [Timeout remaining time 179] 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.001993/0.001993, allocations: 68.08 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 66.04 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.003391/0.3591, allocations: 1.784 MB / 0.5636 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3607, allocations: 0.7606 MB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.3608, allocations: 4 kB / 0.5643 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.361, allocations: 39.75 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.3613, allocations: 71.64 kB / 0.5644 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3615, allocations: 79.66 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.3617, allocations: 135.5 kB / 0.5646 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.3618, allocations: 11.98 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.362, allocations: 71.7 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3622, allocations: 91.64 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.3622, allocations: 7.984 kB / 0.5648 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.3623, allocations: 51.97 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3624, allocations: 27.84 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3625, allocations: 35.8 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3628, allocations: 134 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.3628, allocations: 11.98 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3628, allocations: 0 / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3628, 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.0006036/0.3634, allocations: 337.8 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3634, allocations: 12.03 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.3638, allocations: 32.81 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.364, allocations: 130.5 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.364, allocations: 4.375 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3641, allocations: 20.11 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.3644, allocations: 172.1 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3644, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.3645, allocations: 8 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.3645, allocations: 11.98 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.3648, allocations: 135.8 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.3658, allocations: 0.512 MB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.3661, allocations: 114.6 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3663, allocations: 32.83 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3663, allocations: 7.984 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3663, allocations: 42.48 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3663, allocations: 0 / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.3668, allocations: 141.7 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3668, allocations: 55.34 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3669, allocations: 133.9 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3669, allocations: 29.7 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.367, allocations: 120.1 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.3671, allocations: 23.8 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.3672, allocations: 37.66 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3673, allocations: 314.8 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3674, allocations: 35.97 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3676, allocations: 103.6 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3679, allocations: 143.5 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3679, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003365/0.3682, allocations: 161.4 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3682, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3682, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3683, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3685, allocations: 40.22 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3685, allocations: 7.938 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3686, allocations: 23.88 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3686, allocations: 4 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.000114/0.3687, allocations: 129.7 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3687, allocations: 7.953 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.3691, allocations: 129.9 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3691, allocations: 4 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3691, allocations: 0 / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3691, allocations: 0 / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3693, allocations: 133.2 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3693, allocations: 3.938 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.3694, allocations: 27.98 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3694, allocations: 3.984 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3694, allocations: 4 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3694, allocations: 0 / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3694, allocations: 4 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.3698, allocations: 211.4 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.3698, allocations: 11.89 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3698, allocations: 3.984 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.3699, allocations: 4 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.37, allocations: 11.92 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.37, allocations: 4 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.512e-05/0.3701, allocations: 94.52 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3701, allocations: 0 / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000312/0.3704, allocations: 31.94 kB / 0.5687 GB, free: 12.78 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.0001634/0.3705, allocations: 103.2 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3708, allocations: 92.86 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3708, allocations: 4 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.371, allocations: 43.95 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.0002654/0.3712, allocations: 17.06 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.0005326/0.3718, allocations: 269.3 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.703e-05/0.3719, allocations: 97.31 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.3719, allocations: 15.44 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3719, allocations: 0 / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Templates: time 0.003359/0.3753, allocations: 1.367 MB / 0.5706 GB, free: 10.74 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 -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: 7.634201961976942]