Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 91.33 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9753/0.9753, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.235e-05, allocations: 2.312 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002549/0.002582, allocations: 1.867 MB / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.003571, allocations: 0.8227 MB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.003661, allocations: 0 / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.00393, allocations: 47.64 kB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.004205, allocations: 75.58 kB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.004413, allocations: 67.72 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.004575, allocations: 139.3 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.004618, allocations: 4 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.004761, allocations: 91.66 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004882, allocations: 87.75 kB / 350.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.004899, allocations: 8 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.005018, allocations: 47.97 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.00508, allocations: 31.83 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.005115, allocations: 31.92 kB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.005305, allocations: 135.4 kB / 351.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005309, allocations: 0 / 351.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.005311, allocations: 0 / 351.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005315, allocations: 0 / 351.1 MB, free: 5.957 MB / 282.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.0003857/0.005701, allocations: 432.2 kB / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.005738, allocations: 8.031 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.005983, allocations: 56.78 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.006106, allocations: 136.4 kB / 351.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.006117, allocations: 8.359 kB / 351.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.006133, allocations: 12.38 kB / 351.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.006333, allocations: 149.9 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006341, allocations: 3.938 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006355, allocations: 4 kB / 351.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.006386, allocations: 15.98 kB / 352 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.006471, allocations: 51.89 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.006934, allocations: 0.6417 MB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.007106, allocations: 79.14 kB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.007136, allocations: 19.84 kB / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.00715, allocations: 3.984 kB / 352.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.007166, allocations: 41.33 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.007167, allocations: 0 / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001627/0.00733, allocations: 85.56 kB / 352.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.007348, allocations: 51.41 kB / 352.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.007412, allocations: 185.9 kB / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.007419, allocations: 25.7 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.007459, allocations: 174.7 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.007473, allocations: 23.8 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.007506, allocations: 35.36 kB / 353.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.007549, allocations: 0.4884 MB / 353.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.007574, allocations: 15.98 kB / 353.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.007615, allocations: 95.42 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.007689, allocations: 129 kB / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.007692, allocations: 0 / 354.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001149/0.007807, allocations: 125.4 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007819, allocations: 7.938 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.007825, allocations: 4.391 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.007838, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.007932, allocations: 39.97 kB / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.007938, allocations: 0 / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.007979, allocations: 19.89 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.007987, allocations: 4 kB / 354.3 MB, free: 2.523 MB / 282.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 4.905e-05/0.008036, allocations: 168.7 kB / 354.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.008053, allocations: 11.89 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.008173, allocations: 94 kB / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.008175, allocations: 0 / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.008179, allocations: 0 / 354.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008182, allocations: 4 kB / 354.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.00828, allocations: 144.6 kB / 354.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008282, allocations: 7.984 kB / 354.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.008345, allocations: 27.98 kB / 354.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008347, allocations: 0 / 354.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008355, allocations: 3.938 kB / 354.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.008357, allocations: 0 / 354.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008358, allocations: 0 / 354.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.958e-05/0.008448, allocations: 219.9 kB / 354.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.008455, allocations: 3.938 kB / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.008469, allocations: 11.88 kB / 355 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.008506, allocations: 3.984 kB / 355 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.008542, allocations: 7.984 kB / 355 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.008546, allocations: 4 kB / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.008572, allocations: 139.2 kB / 355.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008572, allocations: 3.938 kB / 355.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.00874, allocations: 27.95 kB / 355.1 MB, free: 1.59 MB / 282.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.0001015/0.008841, allocations: 99.25 kB / 355.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.00895, allocations: 63.83 kB / 355.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008952, allocations: 4.188 kB / 355.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.008981, allocations: 27.67 kB / 355.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.009187, allocations: 15.94 kB / 355.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.009799, allocations: 249.3 kB / 355.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.009829, allocations: 71.33 kB / 355.7 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.009884, allocations: 16.47 kB / 355.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.009918, allocations: 20.5 kB / 355.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009919, allocations: 0 / 355.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of Templates: time 0.002918/0.01284, allocations: 1.035 MB / 356.7 MB, free: 15.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2662188219837844]