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.0009951/0.0009951, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001023/0.001023, allocations: 164.2 kB / 24.91 MB, free: 8.758 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.9515/0.9515, allocations: 177 MB / 205.2 MB, free: 5.055 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.2902/0.2902, allocations: 34.86 MB / 296.6 MB, free: 412 kB / 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 2.415e-06/2.415e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.689e-05, allocations: 5.406 kB / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.0034/0.003427, allocations: 1.881 MB / 327.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.005981, allocations: 1.66 MB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.006068, allocations: 0 / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.006323, allocations: 47.62 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.006641, allocations: 79.52 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009849/0.007626, allocations: 415.2 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.007926, allocations: 254.5 kB / 330.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.007984, allocations: 22.53 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.00831, allocations: 135.5 kB / 330.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.008497, allocations: 99.62 kB / 330.5 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.008525, allocations: 8 kB / 330.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.009176, allocations: 335.1 kB / 330.9 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.009276, allocations: 71.7 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.00937, allocations: 75.64 kB / 331 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.0101, allocations: 0.502 MB / 331.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.0101, allocations: 4 kB / 331.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.0101, allocations: 0 / 331.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.01011, allocations: 0 / 331.5 MB, free: 1.555 MB / 298.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.0006854/0.01079, allocations: 0.5164 MB / 332 MB, free: 1.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.01082, allocations: 16.03 kB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.01088, allocations: 40.89 kB / 332.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.01103, allocations: 165.3 kB / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.01104, allocations: 20.78 kB / 332.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.01107, allocations: 35.98 kB / 332.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.01133, allocations: 271.6 kB / 332.6 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.01134, allocations: 4 kB / 332.6 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.01135, allocations: 7.938 kB / 332.6 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.0114, allocations: 52.95 kB / 332.6 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.01155, allocations: 162.9 kB / 332.8 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008543/0.01241, allocations: 0.7903 MB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.0126, allocations: 141.3 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.01264, allocations: 32.84 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.01267, allocations: 12 kB / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.01269, allocations: 34.56 kB / 333.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.01269, allocations: 0 / 333.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.000187/0.01288, allocations: 140.3 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.0129, allocations: 55.41 kB / 334 MB, free: 14.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.01298, allocations: 146.5 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01299, allocations: 29.7 kB / 334.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.01307, allocations: 200.1 kB / 334.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.01311, allocations: 95.19 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.01317, allocations: 65.61 kB / 334.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.01325, allocations: 326.8 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.01328, allocations: 27.98 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.147e-05/0.01336, allocations: 112.6 kB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.01351, allocations: 185.6 kB / 335.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01351, allocations: 0 / 335.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001617/0.01367, allocations: 165.4 kB / 335.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.01368, allocations: 4 kB / 335.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01369, allocations: 4.344 kB / 335.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.0137, allocations: 11.94 kB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.01396, allocations: 115.9 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/0.01468, allocations: 2.347 MB / 337.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.01477, allocations: 35.81 kB / 337.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.01478, allocations: 11.98 kB / 337.8 MB, free: 10.88 MB / 314.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 9.381e-05/0.01487, allocations: 132.6 kB / 338 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.0149, allocations: 15.92 kB / 338 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.01516, allocations: 220.9 kB / 338.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01516, allocations: 4 kB / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01516, allocations: 0 / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01517, allocations: 0 / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.01532, allocations: 153.7 kB / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01532, allocations: 0 / 338.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.01553, allocations: 107.9 kB / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01553, allocations: 0 / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01555, allocations: 11.94 kB / 338.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006316/0.01618, allocations: 2.353 MB / 340.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01618, allocations: 256 / 340.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.01634, allocations: 242.4 kB / 341 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.01635, allocations: 15.84 kB / 341.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.01637, allocations: 8 kB / 341.1 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.01643, allocations: 11.98 kB / 341.1 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01646, allocations: 19.97 kB / 341.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01648, allocations: 8 kB / 341.1 MB, free: 7.445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.095e-05/0.0165, allocations: 22.95 kB / 341.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0165, allocations: 0 / 341.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.01681, allocations: 179.2 kB / 341.3 MB, free: 7.246 MB / 314.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.0002851/0.01709, allocations: 219.6 kB / 341.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.01735, allocations: 181.3 kB / 341.7 MB, free: 6.844 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.01736, allocations: 4 kB / 341.7 MB, free: 6.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.01749, allocations: 112.7 kB / 341.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.01764, allocations: 16.77 kB / 341.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.0184, allocations: 0.5388 MB / 342.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.01846, allocations: 108.3 kB / 342.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.01857, allocations: 57.78 kB / 342.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.01865, allocations: 75.38 kB / 342.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01865, allocations: 3.938 kB / 342.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of Templates: time 0.007119/0.02577, allocations: 5.182 MB / 347.8 MB, free: 0.7617 MB / 314.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.1938921990804374]