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.001151/0.001151, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001701/0.002852, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001146/0.001146, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002541, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8686/0.8686, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1391/1.008, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1742/0.1742, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02236/0.1966, allocations: 12.3 MB / 266.1 MB, free: 3.883 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 2.595e-06/2.595e-06, allocations: 7.938 kB / 267.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.437e-05, allocations: 2.312 kB / 267.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002529/0.002543, allocations: 1.9 MB / 269.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.007612, allocations: 0.8497 MB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.007666, allocations: 0 / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.007802, allocations: 43.75 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.008, allocations: 79.47 kB / 270.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.008138, allocations: 67.67 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.008299, allocations: 139.4 kB / 270.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.008339, allocations: 11.98 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.008481, allocations: 91.66 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.008621, allocations: 79.83 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.008638, allocations: 11.94 kB / 270.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.008763, allocations: 47.97 kB / 270.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.008817, allocations: 27.92 kB / 270.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.008852, allocations: 23.94 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.009051, allocations: 119.5 kB / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.009061, allocations: 0 / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.009062, allocations: 0 / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.00907, allocations: 4 kB / 270.9 MB, free: 15.02 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.00343/0.0125, allocations: 324.1 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.01253, allocations: 8.031 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.01279, allocations: 129.9 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.01291, allocations: 125.7 kB / 271.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.01292, allocations: 12.36 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.01294, allocations: 8.375 kB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.01314, allocations: 148.1 kB / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.01315, allocations: 3.938 kB / 271.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.01317, allocations: 4 kB / 271.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.01319, allocations: 11.98 kB / 271.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.01326, allocations: 35.92 kB / 271.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.01371, allocations: 443 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.01387, allocations: 65.36 kB / 272.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.0139, allocations: 12.86 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.01391, allocations: 4 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.01393, allocations: 34.5 kB / 272.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.01393, allocations: 0 / 272.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001314/0.01406, allocations: 69.59 kB / 272.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.01409, allocations: 51.41 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.01416, allocations: 134.7 kB / 272.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.01418, allocations: 33.64 kB / 272.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.01423, allocations: 120.1 kB / 272.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.01425, allocations: 23.8 kB / 272.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.01429, allocations: 33.69 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.01437, allocations: 322.8 kB / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.01439, allocations: 8 kB / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.01444, allocations: 67.64 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.01453, allocations: 102.4 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01454, allocations: 0 / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001181/0.01465, allocations: 101.6 kB / 273.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01467, allocations: 8 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01467, allocations: 0 / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01468, allocations: 7.938 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.01484, allocations: 47.91 kB / 273.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01484, allocations: 4 kB / 273.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.0149, allocations: 19.88 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.01491, allocations: 8 kB / 273.4 MB, free: 12.29 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 6.284e-05/0.01497, allocations: 124.7 kB / 273.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.01499, allocations: 8 kB / 273.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.01509, allocations: 70.08 kB / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01509, allocations: 3.938 kB / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01509, allocations: 0 / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.0151, allocations: 0 / 273.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.01522, allocations: 89.81 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.01522, allocations: 0 / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.01531, allocations: 35.97 kB / 273.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/0.01833, allocations: 11.95 kB / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01834, allocations: 0 / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.01834, allocations: 0 / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.01835, allocations: 3.938 kB / 273.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01835, allocations: 0 / 273.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.712e-05/0.01844, allocations: 159.5 kB / 273.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.01846, allocations: 0 / 273.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.779e-05/0.01851, allocations: 4 kB / 273.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.01854, allocations: 11.92 kB / 273.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01855, allocations: 4 kB / 273.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.01857, allocations: 25.28 kB / 273.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01857, allocations: 0 / 273.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000206/0.01877, allocations: 27.94 kB / 273.9 MB, free: 11.67 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 9.032e-05/0.01886, allocations: 80.41 kB / 274 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.528e-05/0.01896, allocations: 61.81 kB / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.01896, allocations: 0 / 274.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.019, allocations: 29.02 kB / 274.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01919, allocations: 45.69 kB / 274.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.02086, allocations: 257.9 kB / 274.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.02091, allocations: 71.33 kB / 274.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.702e-05/0.02095, allocations: 12.47 kB / 274.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.02101, allocations: 59.38 kB / 274.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02101, allocations: 7.938 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of Templates: time 0.005625/0.02664, allocations: 0.9136 MB / 275.5 MB, free: 10.07 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.647840884514153]