Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.000911/0.000911, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003578/0.003578, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 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.892/0.892, allocations: 177 MB / 204.9 MB, free: 5.73 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.2731/0.2731, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.568e-05, allocations: 4.812 kB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.1976/0.1977, allocations: 1.79 MB / 445.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.1986, allocations: 0.7677 MB / 446 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.1987, allocations: 2.469 kB / 446 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1989, allocations: 35.78 kB / 446 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1991, allocations: 80.53 kB / 446.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1993, allocations: 70.38 kB / 446.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1994, allocations: 143.7 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.1995, allocations: 4.906 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1996, allocations: 91.53 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1997, allocations: 85.11 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1998, allocations: 5.344 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.1998, allocations: 49.62 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1999, allocations: 40.31 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.1999, allocations: 25.84 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.2001, allocations: 133.5 kB / 446.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2001, allocations: 1.719 kB / 446.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2001, allocations: 0 / 446.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2001, allocations: 2.906 kB / 446.8 MB, free: 43.03 MB / 410.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.0003174/0.2004, allocations: 336.1 kB / 447.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2005, allocations: 11.53 kB / 447.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.2007, allocations: 35.48 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.572e-05/0.2008, allocations: 131.4 kB / 447.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2008, allocations: 10.95 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.2008, allocations: 13.03 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.201, allocations: 179.2 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.201, allocations: 7.438 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2011, allocations: 0 / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.2011, allocations: 19.19 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2012, allocations: 124.9 kB / 447.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.2017, allocations: 0.5195 MB / 448.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2018, allocations: 107.2 kB / 448.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.2019, allocations: 36.11 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.2019, allocations: 4 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.2019, allocations: 41.59 kB / 448.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.2019, allocations: 1.688 kB / 448.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002073/0.2021, allocations: 140.6 kB / 448.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.589e-05/0.2021, allocations: 51.41 kB / 448.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.144e-05/0.2022, allocations: 131.6 kB / 448.6 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.2022, allocations: 25.7 kB / 448.7 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.2022, allocations: 121 kB / 448.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.2022, allocations: 29.55 kB / 448.8 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.2023, allocations: 30.89 kB / 448.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.2023, allocations: 313.2 kB / 449.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.2024, allocations: 40.53 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.2024, allocations: 96.05 kB / 449.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2026, allocations: 149.3 kB / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2026, allocations: 3.938 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001679/0.2027, allocations: 160.2 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2027, allocations: 9.844 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2027, allocations: 2.875 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2028, allocations: 2.969 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.2028, allocations: 38.67 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2028, allocations: 5.156 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.2029, allocations: 23.34 kB / 449.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2029, allocations: 3.062 kB / 449.7 MB, free: 41.01 MB / 410.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 5.444e-05/0.203, allocations: 132.3 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.203, allocations: 11.11 kB / 449.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.2032, allocations: 127.1 kB / 449.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2032, allocations: 2.75 kB / 449.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2032, allocations: 0 / 449.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2032, allocations: 0 / 449.9 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.169e-05/0.2033, allocations: 142.5 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2033, allocations: 4 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.2033, allocations: 29.69 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2033, allocations: 0 / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-06/0.2033, allocations: 7.938 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2033, allocations: 2.812 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2033, allocations: 0 / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2035, allocations: 199.3 kB / 450.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.2035, allocations: 10.12 kB / 450.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2035, allocations: 11.94 kB / 450.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.2035, allocations: 9.844 kB / 450.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.2036, allocations: 6.219 kB / 450.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2036, allocations: 3.375 kB / 450.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.621e-05/0.2036, allocations: 101.7 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2036, allocations: 0 / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.2038, allocations: 24.45 kB / 450.5 MB, free: 40.42 MB / 410.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.000116/0.2039, allocations: 104.2 kB / 450.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.2041, allocations: 100.8 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2041, allocations: 0 / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.2041, allocations: 37.31 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.2043, allocations: 11.31 kB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.2047, allocations: 264.7 kB / 451 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.475e-05/0.2047, allocations: 96.28 kB / 451.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.2048, allocations: 14.22 kB / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2048, allocations: 0 / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of Templates: time 0.00255/0.2073, allocations: 1.378 MB / 452.5 MB, free: 39.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 4.700909361243248]