Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001788/0.001788, allocations: 113.1 kB / 21.86 MB, free: 88 kB / 14.72 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.002186/0.002186, allocations: 212.1 kB / 25.14 MB, free: 3.598 MB / 14.72 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.596/1.596, allocations: 230.2 MB / 258.5 MB, free: 8.309 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2658/0.2658, allocations: 46.89 MB / 361.8 MB, free: 4.523 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003525/0.003525, allocations: 79.88 kB / 0.4974 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3903, allocations: 66.02 MB / 0.5619 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003606/0.3939, allocations: 1.859 MB / 0.5637 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.3969, allocations: 1.715 MB / 0.5654 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.397, allocations: 7.875 kB / 0.5654 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.3972, allocations: 55.67 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.3976, allocations: 87.56 kB / 0.5656 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.3985, allocations: 398.7 kB / 0.5659 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.3988, allocations: 242.7 kB / 0.5662 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.3988, allocations: 12.59 kB / 0.5662 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3991, allocations: 103.5 kB / 0.5663 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.3993, allocations: 131.4 kB / 0.5664 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.3993, allocations: 8 kB / 0.5664 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.3999, allocations: 343.3 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.4, allocations: 71.67 kB / 0.5668 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4002, allocations: 111.2 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007806/0.4009, allocations: 0.52 MB / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4009, allocations: 0 / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4009, allocations: 4 kB / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.401, allocations: 0 / 0.5674 GB, free: 15 MB / 414.1 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.001024/0.402, allocations: 0.567 MB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.402, allocations: 8.031 kB / 0.568 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.4021, allocations: 32.7 kB / 0.568 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.4024, allocations: 185.5 kB / 0.5682 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.4024, allocations: 16.66 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.4025, allocations: 23.98 kB / 0.5682 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.4032, allocations: 467.9 kB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4032, allocations: 0 / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.4033, allocations: 16 kB / 0.5687 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.4033, allocations: 52.95 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.4043, allocations: 0.5464 MB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.4064, allocations: 1.268 MB / 0.5705 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.4069, allocations: 263.3 kB / 0.5708 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.4071, allocations: 92.8 kB / 0.5709 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.4072, allocations: 8.375 kB / 0.5709 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4072, allocations: 42.48 kB / 0.5709 GB, free: 11.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.4072, allocations: 0 / 0.5709 GB, free: 11.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007988/0.408, allocations: 333.2 kB / 0.5712 GB, free: 10.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.408, allocations: 59.41 kB / 0.5713 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.4082, allocations: 148.7 kB / 0.5714 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.4082, allocations: 25.7 kB / 0.5714 GB, free: 10.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.4084, allocations: 196.3 kB / 0.5716 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.4085, allocations: 95.2 kB / 0.5717 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4086, allocations: 69.69 kB / 0.5718 GB, free: 10.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4087, allocations: 322.8 kB / 0.5721 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.4089, allocations: 95.8 kB / 0.5722 GB, free: 9.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.4092, allocations: 179 kB / 0.5724 GB, free: 9.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.4098, allocations: 282.1 kB / 0.5726 GB, free: 9.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4098, allocations: 0 / 0.5726 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006323/0.4104, allocations: 334 kB / 0.5729 GB, free: 9.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4104, allocations: 7.938 kB / 0.573 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4104, allocations: 4 kB / 0.573 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4105, allocations: 4 kB / 0.573 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.411, allocations: 123.8 kB / 0.5731 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.4125, allocations: 2.356 MB / 0.5754 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4127, allocations: 40.11 kB / 0.5754 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4127, allocations: 19.94 kB / 0.5754 GB, free: 6.371 MB / 414.1 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.0002458/0.413, allocations: 173.7 kB / 0.5756 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.413, allocations: 15.91 kB / 0.5756 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008349/0.4139, allocations: 358.2 kB / 0.576 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4139, allocations: 3.984 kB / 0.576 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4139, allocations: 0 / 0.576 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.4139, allocations: 15.84 kB / 0.576 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.4139, allocations: 15.94 kB / 0.576 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.4141, allocations: 11.98 kB / 0.576 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.4142, allocations: 23.97 kB / 0.576 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009709/0.4151, allocations: 460 kB / 0.5765 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008836/0.416, allocations: 0.5776 MB / 0.577 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002587/0.4163, allocations: 104 kB / 0.5771 GB, free: 4.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.4164, allocations: 103.3 kB / 0.5772 GB, free: 4.484 MB / 414.1 MB Notification: Performance of Backend: time 9.01e-07/0.4164, allocations: 0 / 0.5772 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.418, allocations: 413.3 kB / 0.5776 GB, free: 4.07 MB / 414.1 MB Notification: Performance of SimCode: time 0.001334/0.4193, allocations: 0.9888 MB / 0.5786 GB, free: 3.043 MB / 414.1 MB Notification: Performance of Templates: time 0.01149/0.4308, allocations: 5.459 MB / 0.5839 GB, free: 13.62 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.898972659371793]