Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.0009835/0.0009835, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001137/0.001137, allocations: 168.1 kB / 24.82 MB, free: 9.277 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 1.015/1.015, allocations: 177 MB / 205.1 MB, free: 5.473 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.2638/0.2638, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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_turbulent_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_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 379.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.503e-05, allocations: 2.312 kB / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.005772/0.005797, allocations: 1.89 MB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.01094, allocations: 1.632 MB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-05/0.01103, allocations: 8 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.01126, allocations: 39.7 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.01154, allocations: 87.44 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.01228, allocations: 406.5 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.01254, allocations: 258.5 kB / 383.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.01258, allocations: 12.59 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.01281, allocations: 135.5 kB / 383.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.01295, allocations: 111.6 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.01297, allocations: 8 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.0165, allocations: 327.1 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.0166, allocations: 71.69 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.01667, allocations: 71.73 kB / 384.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.01732, allocations: 0.5137 MB / 384.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01732, allocations: 0 / 384.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01732, allocations: 0 / 384.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.01733, allocations: 0 / 384.8 MB, free: 12.24 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.000711/0.01804, allocations: 0.6631 MB / 385.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01808, allocations: 8.031 kB / 385.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.01816, allocations: 56.7 kB / 385.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.01834, allocations: 180.1 kB / 385.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.01837, allocations: 28.77 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.0184, allocations: 20 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.01873, allocations: 252.8 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.01874, allocations: 0 / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.01876, allocations: 15.97 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.01883, allocations: 44.97 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.01906, allocations: 198.8 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.0232, allocations: 0.8923 MB / 387.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.02349, allocations: 169.5 kB / 387.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.02355, allocations: 43.66 kB / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.02359, allocations: 7.375 kB / 387.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.02361, allocations: 41.39 kB / 387.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.02361, allocations: 4 kB / 387.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003227/0.02394, allocations: 174.1 kB / 387.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.02397, allocations: 63.27 kB / 387.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.02409, allocations: 210.5 kB / 387.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.02411, allocations: 29.7 kB / 387.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.02422, allocations: 246.9 kB / 388.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.02428, allocations: 91.2 kB / 388.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.02436, allocations: 75.33 kB / 388.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.0245, allocations: 0.5001 MB / 388.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.02455, allocations: 35.83 kB / 388.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.02467, allocations: 157.6 kB / 389 MB, free: 7.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.02487, allocations: 208.2 kB / 389.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02487, allocations: 4 kB / 389.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002352/0.02723, allocations: 217.2 kB / 389.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.02724, allocations: 7.938 kB / 389.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.02725, allocations: 4 kB / 389.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.02727, allocations: 4 kB / 389.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.02764, allocations: 132.2 kB / 389.5 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.02895, allocations: 3.585 MB / 393.1 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/0.02905, allocations: 39.78 kB / 393.1 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.02906, allocations: 8 kB / 393.1 MB, free: 3.453 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.0001014/0.02916, allocations: 184.8 kB / 393.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.02919, allocations: 23.84 kB / 393.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.02949, allocations: 255.1 kB / 393.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.02949, allocations: 4 kB / 393.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02949, allocations: 3.938 kB / 393.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.0295, allocations: 0 / 393.6 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.02967, allocations: 193 kB / 393.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02968, allocations: 0 / 393.8 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.03004, allocations: 115.9 kB / 393.9 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.03004, allocations: 11.94 kB / 393.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.03006, allocations: 8 kB / 393.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/0.03093, allocations: 3.581 MB / 397.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.03093, allocations: 3.984 kB / 397.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.03141, allocations: 327.7 kB / 397.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.03142, allocations: 20.09 kB / 397.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.03144, allocations: 8 kB / 397.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.0315, allocations: 8 kB / 397.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.03154, allocations: 27.89 kB / 397.9 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.03156, allocations: 12 kB / 397.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.0316, allocations: 133.4 kB / 398 MB, free: 14.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0316, allocations: 0 / 398 MB, free: 14.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.03199, allocations: 187.1 kB / 398.2 MB, free: 14.2 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.000316/0.03231, allocations: 230.6 kB / 398.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.03259, allocations: 208.6 kB / 398.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0326, allocations: 0 / 398.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.03274, allocations: 140 kB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.03294, allocations: 16 kB / 398.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.03373, allocations: 0.5262 MB / 399.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.03379, allocations: 116.3 kB / 399.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.03391, allocations: 53.8 kB / 399.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.03399, allocations: 94.19 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03399, allocations: 0 / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006994/0.04099, allocations: 5.225 MB / 404.8 MB, free: 7.598 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_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.4385201362892985]