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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|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=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 111.4 kB / 17.09 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 199.3 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 67.89 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.148, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004576/0.1526, allocations: 1.799 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1542, allocations: 0.8382 MB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.1543, allocations: 4 kB / 0.4911 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.1546, allocations: 51.73 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.155, allocations: 71.64 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.1552, allocations: 59.69 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1554, allocations: 143.4 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.1555, allocations: 11.98 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1556, allocations: 71.73 kB / 0.4915 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1558, allocations: 75.73 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1559, allocations: 4 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1561, allocations: 75.83 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.1561, allocations: 27.95 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.1562, allocations: 43.73 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1565, allocations: 135.5 kB / 0.4919 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1565, allocations: 0 / 0.4919 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1565, allocations: 0 / 0.4919 GB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1565, allocations: 0 / 0.4919 GB, free: 8.34 MB / 382.1 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.0006732/0.1572, allocations: 415.2 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1573, allocations: 11.89 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.1577, allocations: 32.81 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1579, allocations: 192.2 kB / 0.4925 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1579, allocations: 4.375 kB / 0.4925 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.158, allocations: 16.12 kB / 0.4925 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.1584, allocations: 184 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1584, allocations: 0 / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1584, allocations: 7.984 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.1585, allocations: 11.94 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.1588, allocations: 139.7 kB / 0.4929 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.1597, allocations: 0.6406 MB / 0.4935 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.16, allocations: 110.7 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1601, allocations: 40.77 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1602, allocations: 4 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1602, allocations: 34.56 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1602, allocations: 0 / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004409/0.1607, allocations: 141.5 kB / 0.4938 GB, free: 6.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1607, allocations: 51.56 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1608, allocations: 126 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1608, allocations: 29.7 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.1609, allocations: 127.8 kB / 0.4941 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.161, allocations: 23.66 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.161, allocations: 29.7 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1611, allocations: 322.8 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1612, allocations: 39.89 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.1614, allocations: 87.7 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.1617, allocations: 147.8 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1617, allocations: 3.938 kB / 0.4947 GB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003101/0.162, allocations: 157.3 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.162, allocations: 8 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.162, allocations: 4.25 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1621, allocations: 4 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1622, allocations: 43.91 kB / 0.4949 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.1623, allocations: 4 kB / 0.495 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1624, allocations: 23.83 kB / 0.495 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1624, allocations: 8 kB / 0.495 GB, free: 4.859 MB / 382.1 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 9.959e-05/0.1625, allocations: 133.7 kB / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.1625, allocations: 11.91 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.1629, allocations: 121.9 kB / 0.4952 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1629, allocations: 3.984 kB / 0.4952 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1629, allocations: 4 kB / 0.4952 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.1629, allocations: 81.05 kB / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.163, allocations: 0 / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1631, allocations: 7.984 kB / 0.4953 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1631, allocations: 15.94 kB / 0.4953 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003767/0.1635, allocations: 204.8 kB / 0.4955 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003176/0.1638, allocations: 286.7 kB / 0.4958 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001114/0.164, allocations: 43.95 kB / 0.4959 GB, free: 3.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.164, allocations: 91.27 kB / 0.4959 GB, free: 3.812 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.164, allocations: 3.938 kB / 0.4959 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.1647, allocations: 174.2 kB / 0.4961 GB, free: 3.633 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006631/0.1653, allocations: 0.6789 MB / 0.4968 GB, free: 2.906 MB / 382.1 MB Notification: Performance of Templates: time 0.00458/0.1699, allocations: 1.468 MB / 0.4982 GB, free: 1.449 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches