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_overall_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.001403/0.001403, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001324/0.001324, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 1.045/1.045, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1513/0.1513, allocations: 32.38 MB / 270.7 MB, free: 14.53 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_overall_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_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 348.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.157e-05, allocations: 5.406 kB / 348.2 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.005717/0.005749, allocations: 1.88 MB / 350 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.01188, allocations: 2.774 MB / 352.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.01199, allocations: 4 kB / 352.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.01225, allocations: 47.69 kB / 352.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.01254, allocations: 87.45 kB / 353 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.01697, allocations: 0.7313 MB / 353.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.01723, allocations: 262.5 kB / 353.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.01728, allocations: 12.53 kB / 354 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.01748, allocations: 131.5 kB / 354.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.01762, allocations: 111.6 kB / 354.2 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.01764, allocations: 8 kB / 354.2 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000884/0.01852, allocations: 0.5846 MB / 354.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.01861, allocations: 71.7 kB / 354.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.01869, allocations: 79.64 kB / 354.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.02275, allocations: 0.763 MB / 355.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.02275, allocations: 0 / 355.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.02276, allocations: 0 / 355.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.02276, allocations: 0 / 355.7 MB, free: 1.574 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008155/0.02358, allocations: 0.7094 MB / 356.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.02362, allocations: 15.95 kB / 356.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.02371, allocations: 56.7 kB / 356.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.02387, allocations: 164.3 kB / 356.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.02389, allocations: 28.77 kB / 356.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.02392, allocations: 24 kB / 356.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.02422, allocations: 256.7 kB / 356.9 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.02423, allocations: 0 / 356.9 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.02425, allocations: 11.98 kB / 356.9 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/0.0243, allocations: 48.97 kB / 357 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.02449, allocations: 194.8 kB / 357.2 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.02874, allocations: 0.8923 MB / 358.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.02904, allocations: 163.4 kB / 358.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.02911, allocations: 43.67 kB / 358.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.02916, allocations: 14.62 kB / 358.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.02919, allocations: 45.38 kB / 358.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.02919, allocations: 0 / 358.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003662/0.02956, allocations: 187.5 kB / 358.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.02959, allocations: 55.41 kB / 358.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.02972, allocations: 209.8 kB / 358.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.02974, allocations: 25.7 kB / 358.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.02986, allocations: 246.9 kB / 359 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.02992, allocations: 91.22 kB / 359.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.03002, allocations: 83.27 kB / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.03016, allocations: 0.5001 MB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.03022, allocations: 27.97 kB / 359.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.03034, allocations: 167.8 kB / 359.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.03055, allocations: 216.9 kB / 360.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.03056, allocations: 4 kB / 360.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002974/0.03086, allocations: 217.2 kB / 360.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.03087, allocations: 8 kB / 360.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.03088, allocations: 3.984 kB / 360.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.0309, allocations: 8.328 kB / 360.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.03429, allocations: 131.9 kB / 360.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.03571, allocations: 3.585 MB / 364.1 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.03584, allocations: 27.83 kB / 364.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.03586, allocations: 12.25 kB / 364.1 MB, free: 8.723 MB / 298.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.0001641/0.03602, allocations: 184.4 kB / 364.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.03608, allocations: 27.84 kB / 364.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.03652, allocations: 242.6 kB / 364.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.03652, allocations: 4 kB / 364.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.03652, allocations: 0 / 364.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.03653, allocations: 7.922 kB / 364.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.03679, allocations: 197 kB / 364.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03679, allocations: 0 / 364.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.03711, allocations: 111.9 kB / 364.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.03711, allocations: 7.938 kB / 364.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.03713, allocations: 15.98 kB / 364.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.03836, allocations: 3.573 MB / 368.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.03836, allocations: 4 kB / 368.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.03861, allocations: 328.9 kB / 368.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.03863, allocations: 27.83 kB / 368.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.03865, allocations: 4 kB / 368.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.03871, allocations: 8 kB / 368.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.03876, allocations: 23.95 kB / 368.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.03878, allocations: 8 kB / 368.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.215e-05/0.03884, allocations: 142.1 kB / 369 MB, free: 3.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03884, allocations: 0 / 369 MB, free: 3.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005869/0.03943, allocations: 250.6 kB / 369.2 MB, free: 3.41 MB / 298.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.0005411/0.03997, allocations: 369.9 kB / 369.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.04029, allocations: 188.1 kB / 369.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.04029, allocations: 8.062 kB / 369.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.04044, allocations: 131.5 kB / 369.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.04066, allocations: 27.98 kB / 369.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.04153, allocations: 0.5288 MB / 370.5 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.04159, allocations: 112.3 kB / 370.6 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.0417, allocations: 49.8 kB / 370.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.0418, allocations: 102.2 kB / 370.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0418, allocations: 0 / 370.7 MB, free: 1.852 MB / 298.7 MB Notification: Performance of Templates: time 0.009473/0.05127, allocations: 7.021 MB / 377.8 MB, free: 10.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_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.686381957028061]