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.001036/0.001036, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001945/0.001945, allocations: 156.5 kB / 24.55 MB, free: 12 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 1.054/1.054, allocations: 177 MB / 204.8 MB, free: 5.57 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.2973/0.2973, allocations: 34.86 MB / 296.3 MB, free: 0.5234 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.[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_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.[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_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.981e-05, allocations: 7.156 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002351/0.002371, allocations: 1.863 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003434, allocations: 0.8255 MB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.003495, allocations: 4 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.003728, allocations: 35.77 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.003995, allocations: 79.52 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.004187, allocations: 71.67 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.004363, allocations: 143.3 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.004414, allocations: 7.938 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.004632, allocations: 87.78 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.004772, allocations: 91.75 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.004788, allocations: 4 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.004908, allocations: 43.92 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.004982, allocations: 35.89 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.005026, allocations: 27.86 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.005245, allocations: 135.5 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005248, allocations: 4 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005248, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005253, allocations: 0 / 382.2 MB, free: 14.58 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004633/0.005716, allocations: 432.1 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.005752, allocations: 8.031 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.006025, allocations: 56.78 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.006168, allocations: 132.4 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.006182, allocations: 8.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.006196, allocations: 8.375 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.006432, allocations: 164 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006443, allocations: 7.938 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.006456, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.006486, allocations: 15.92 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.006577, allocations: 55.95 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.007155, allocations: 0.6378 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.007336, allocations: 79.2 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.007368, allocations: 23.69 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.007383, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.007407, allocations: 41.33 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.007408, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001715/0.00758, allocations: 73.58 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.007606, allocations: 51.41 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.007705, allocations: 193.2 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.007721, allocations: 29.7 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.007803, allocations: 170.8 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.007824, allocations: 27.94 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.007868, allocations: 31.38 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.008, allocations: 0.4923 MB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.008029, allocations: 11.98 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.008093, allocations: 101.1 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.008195, allocations: 125.1 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.008198, allocations: 3.938 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001227/0.00832, allocations: 117.4 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.008335, allocations: 7.938 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008341, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.008355, allocations: 8.25 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.008445, allocations: 31.98 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.008452, allocations: 3.938 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.008496, allocations: 19.88 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.008505, allocations: 8 kB / 385.4 MB, free: 11.14 MB / 362.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 7.061e-05/0.008576, allocations: 164.5 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.008596, allocations: 11.89 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.008721, allocations: 78.05 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.008724, allocations: 7.984 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.008727, allocations: 4 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00873, allocations: 0 / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.008853, allocations: 148.5 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008855, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.008916, allocations: 27.98 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008917, allocations: 0 / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.008926, allocations: 7.922 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008927, allocations: 0 / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.008928, allocations: 4 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.009055, allocations: 220.3 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.009064, allocations: 4 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.009079, allocations: 7.938 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.009116, allocations: 3.984 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.009153, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.009157, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.009208, allocations: 139.2 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009208, allocations: 0 / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00018/0.009388, allocations: 27.95 kB / 386.2 MB, free: 10.21 MB / 362.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.0001103/0.009498, allocations: 103.2 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.009645, allocations: 71.59 kB / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.009646, allocations: 0 / 386.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.962e-05/0.009676, allocations: 23.69 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.009885, allocations: 13.41 kB / 386.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.0105, allocations: 254.7 kB / 386.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.01055, allocations: 75.27 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.01061, allocations: 24.45 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.01065, allocations: 16.5 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01065, allocations: 0 / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of Templates: time 0.00333/0.01398, allocations: 1.023 MB / 387.8 MB, free: 8.602 MB / 362.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",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.3420857479795814]