Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0007421/0.0007421, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.00191, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007044/0.0007044, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009303/0.001635, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09364/1.122, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2911/0.2911, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02191/0.313, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 4 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.225e-05, allocations: 4.516 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001993/0.002006, allocations: 1.921 MB / 294.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.002915, allocations: 0.8224 MB / 295.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.002966, allocations: 0 / 295.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.003086, allocations: 43.77 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.003264, allocations: 83.5 kB / 295.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.003412, allocations: 75.61 kB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.003549, allocations: 135.4 kB / 295.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.003586, allocations: 7.984 kB / 295.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.003749, allocations: 91.72 kB / 296 MB, free: 3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.003863, allocations: 83.77 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.003876, allocations: 4 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.003984, allocations: 55.97 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.004032, allocations: 23.92 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.004064, allocations: 23.94 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.004239, allocations: 127.4 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.004249, allocations: 0 / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00425, allocations: 0 / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.00426, allocations: 4 kB / 296.3 MB, free: 2.684 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.0004139/0.004673, allocations: 321.3 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.004707, allocations: 8.031 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.004955, allocations: 129.9 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005077, allocations: 125.7 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005089, allocations: 8.359 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005108, allocations: 12.38 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.005294, allocations: 142.9 kB / 297.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.005304, allocations: 3.938 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005315, allocations: 4 kB / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.005341, allocations: 11.98 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.005396, allocations: 38.36 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.005827, allocations: 447 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.005977, allocations: 77.22 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.005999, allocations: 16.84 kB / 297.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.006013, allocations: 4 kB / 297.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.00603, allocations: 30.56 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.006031, allocations: 4 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001153/0.006146, allocations: 57.62 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.00617, allocations: 51.41 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.006234, allocations: 136.2 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.006246, allocations: 29.7 kB / 298 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.006292, allocations: 120.1 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.006309, allocations: 31.73 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.006342, allocations: 25.7 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.006416, allocations: 326.8 kB / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.006428, allocations: 4 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.006468, allocations: 70.52 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.00654, allocations: 102.7 kB / 298.6 MB, free: 160 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006542, allocations: 0 / 298.6 MB, free: 160 kB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.687e-05/0.006638, allocations: 101.5 kB / 298.7 MB, free: 52 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.006651, allocations: 11.98 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006655, allocations: 0 / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006668, allocations: 7.938 kB / 298.8 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.006807, allocations: 47.91 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.006812, allocations: 4 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.006852, allocations: 15.89 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.006858, allocations: 8.25 kB / 298.8 MB, free: 15.96 MB / 298.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 5.611e-05/0.006915, allocations: 124.5 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.006932, allocations: 11.98 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/0.007018, allocations: 58.11 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.007021, allocations: 3.938 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.007023, allocations: 4 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.007027, allocations: 3.984 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.696e-05/0.007124, allocations: 85.88 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007125, allocations: 0 / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.007199, allocations: 39.91 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.007208, allocations: 7.953 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.00721, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.007215, allocations: 7.922 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007217, allocations: 3.938 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007218, allocations: 0 / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.161e-05/0.0073, allocations: 151.5 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.007311, allocations: 3.984 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.007346, allocations: 4 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.007371, allocations: 15.92 kB / 299.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.007374, allocations: 4 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.673e-05/0.007391, allocations: 18.59 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007391, allocations: 0 / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.007536, allocations: 35.83 kB / 299.4 MB, free: 15.33 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 (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 8.084e-05/0.007617, allocations: 84.45 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.007702, allocations: 64.69 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.007706, allocations: 0 / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.923e-05/0.007735, allocations: 20.86 kB / 299.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.007889, allocations: 49.67 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.009192, allocations: 267.6 kB / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.00923, allocations: 71.33 kB / 299.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.604e-05/0.009266, allocations: 8.484 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.009316, allocations: 67.36 kB / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009316, allocations: 0 / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.002428/0.01174, allocations: 0.8979 MB / 300.9 MB, free: 13.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.909929135814309]