Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009909/0.0009909, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009906/0.0009906, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9451/0.9451, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3149/0.3149, allocations: 34.87 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.38e-05, allocations: 2.312 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002421/0.002445, allocations: 1.894 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.005527, allocations: 2.882 MB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.005644, allocations: 4 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.005897, allocations: 39.77 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.006191, allocations: 95.36 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.007669, allocations: 0.7313 MB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.007924, allocations: 254.6 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.007973, allocations: 8.594 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.008222, allocations: 143.4 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.00835, allocations: 107.6 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.00837, allocations: 8 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009431/0.009313, allocations: 0.6157 MB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.009422, allocations: 75.67 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.009511, allocations: 63.73 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.01067, allocations: 0.7863 MB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01067, allocations: 0 / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01067, allocations: 0 / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.01068, allocations: 0 / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008416/0.01152, allocations: 0.7172 MB / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.01156, allocations: 12.03 kB / 387.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.01164, allocations: 56.64 kB / 387.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.01185, allocations: 180.2 kB / 387.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.01187, allocations: 24.77 kB / 387.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.0119, allocations: 24 kB / 387.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.01227, allocations: 292.8 kB / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01228, allocations: 0 / 387.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.0123, allocations: 19.92 kB / 387.8 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.01236, allocations: 40.97 kB / 387.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.01264, allocations: 257.8 kB / 388.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01381, allocations: 0.9504 MB / 389 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.01413, allocations: 177.2 kB / 389.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.0142, allocations: 55.66 kB / 389.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.01424, allocations: 4 kB / 389.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.01426, allocations: 41.39 kB / 389.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.01426, allocations: 0 / 389.3 MB, free: 7.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003397/0.0146, allocations: 202.1 kB / 389.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.01463, allocations: 63.28 kB / 389.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.01474, allocations: 201.9 kB / 389.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01476, allocations: 29.7 kB / 389.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.01485, allocations: 242.9 kB / 390 MB, free: 6.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.0149, allocations: 99.59 kB / 390.1 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.01498, allocations: 79.3 kB / 390.2 MB, free: 6.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.0151, allocations: 0.5001 MB / 390.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.01516, allocations: 43.83 kB / 390.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.01528, allocations: 161.6 kB / 390.9 MB, free: 5.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.01548, allocations: 220.3 kB / 391.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01548, allocations: 4 kB / 391.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002657/0.01575, allocations: 233.2 kB / 391.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.01576, allocations: 4.344 kB / 391.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01577, allocations: 8 kB / 391.4 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.01579, allocations: 11.92 kB / 391.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.01614, allocations: 135.8 kB / 391.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.01732, allocations: 3.581 MB / 395.1 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.01744, allocations: 39.8 kB / 395.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.01745, allocations: 16 kB / 395.1 MB, free: 1.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.01757, allocations: 172.5 kB / 395.3 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.01761, allocations: 23.91 kB / 395.3 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.01797, allocations: 263.1 kB / 395.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01798, allocations: 4 kB / 395.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01798, allocations: 0 / 395.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01799, allocations: 3.984 kB / 395.6 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.01822, allocations: 256.3 kB / 395.9 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01822, allocations: 0 / 395.9 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.01847, allocations: 119.9 kB / 396 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01847, allocations: 0 / 396 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01849, allocations: 8 kB / 396 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.01956, allocations: 3.581 MB / 399.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01956, allocations: 11.95 kB / 399.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.01982, allocations: 331.8 kB / 399.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.01984, allocations: 23.78 kB / 399.9 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01986, allocations: 7.984 kB / 399.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.01993, allocations: 8 kB / 399.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.01998, allocations: 27.89 kB / 400 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01999, allocations: 8 kB / 400 MB, free: 12.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.02004, allocations: 141.6 kB / 400.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02004, allocations: 0 / 400.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005742/0.02062, allocations: 254.7 kB / 400.4 MB, free: 11.84 MB / 378.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005761/0.02119, allocations: 389.9 kB / 400.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.02158, allocations: 212.7 kB / 400.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02158, allocations: 4 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.02175, allocations: 144 kB / 401.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.02198, allocations: 16 kB / 401.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.02312, allocations: 0.5238 MB / 401.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.02319, allocations: 116.3 kB / 401.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.02337, allocations: 93.72 kB / 401.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.02343, allocations: 28.48 kB / 401.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.02343, allocations: 0 / 401.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Templates: time 0.008493/0.03192, allocations: 6.203 MB / 408.1 MB, free: 4.117 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_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.6380699817091227]