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.001082/0.001082, allocations: 115 kB / 17.08 MB, free: 5.816 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.001137/0.001138, allocations: 193.3 kB / 18.01 MB, free: 4.965 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.315/1.315, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1927/0.1927, allocations: 43.52 MB / 314.8 MB, free: 480 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.001484/0.001484, allocations: 75.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003608/0.136, allocations: 1.788 MB / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1374, allocations: 0.8305 MB / 0.4911 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.1375, allocations: 4 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1377, allocations: 47.75 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.138, allocations: 75.58 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1382, allocations: 63.73 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1384, allocations: 139.4 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1385, allocations: 7.984 kB / 0.4915 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1386, allocations: 67.77 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1388, allocations: 83.7 kB / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.1388, allocations: 4 kB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.139, allocations: 79.83 kB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1391, allocations: 19.97 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.1391, allocations: 47.72 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.1394, allocations: 139.5 kB / 0.4919 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1394, allocations: 0 / 0.4919 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1394, allocations: 4 kB / 0.4919 GB, free: 8.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1394, allocations: 0 / 0.4919 GB, free: 8.391 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.0006598/0.1401, allocations: 411.2 kB / 0.4923 GB, free: 7.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1402, allocations: 11.89 kB / 0.4923 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003884/0.1406, allocations: 32.81 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1408, allocations: 192.1 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1408, allocations: 8.375 kB / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1408, allocations: 12.12 kB / 0.4925 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1412, allocations: 180.1 kB / 0.4927 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1412, allocations: 0 / 0.4927 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1412, allocations: 7.922 kB / 0.4927 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.1413, allocations: 11.98 kB / 0.4927 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.1416, allocations: 143.7 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.1426, allocations: 0.6406 MB / 0.4935 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.1429, allocations: 110.6 kB / 0.4936 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.1431, allocations: 40.83 kB / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1431, allocations: 0 / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1431, allocations: 38.56 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.1431, allocations: 0 / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004572/0.1436, allocations: 141.5 kB / 0.4938 GB, free: 6.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1437, allocations: 51.41 kB / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1438, allocations: 133.9 kB / 0.494 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1438, allocations: 33.64 kB / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.1439, allocations: 116 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1439, allocations: 31.62 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.144, allocations: 29.7 kB / 0.4942 GB, free: 5.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1442, allocations: 318.8 kB / 0.4945 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1443, allocations: 35.97 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1444, allocations: 99.34 kB / 0.4946 GB, free: 5.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1447, allocations: 151.8 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1448, allocations: 0 / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003559/0.1451, allocations: 161.3 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1451, allocations: 4 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1452, allocations: 4 kB / 0.4949 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1452, allocations: 4.25 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1454, allocations: 43.91 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1454, allocations: 4 kB / 0.495 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1455, allocations: 19.83 kB / 0.495 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1455, allocations: 8 kB / 0.495 GB, free: 4.91 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 0.0001227/0.1456, allocations: 133.6 kB / 0.4951 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1457, allocations: 7.906 kB / 0.4951 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.146, allocations: 126 kB / 0.4952 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.146, allocations: 0 / 0.4952 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.146, allocations: 0 / 0.4952 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1461, allocations: 3.984 kB / 0.4952 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1463, allocations: 201.5 kB / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1464, allocations: 0 / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1465, allocations: 27.97 kB / 0.4955 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.1465, allocations: 8 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1466, allocations: 3.938 kB / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1466, allocations: 0 / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1466, allocations: 3.938 kB / 0.4955 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.1471, allocations: 203.3 kB / 0.4957 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1471, allocations: 89 kB / 0.4957 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1472, allocations: 4 kB / 0.4958 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1473, allocations: 8 kB / 0.4958 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1473, allocations: 7.984 kB / 0.4958 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1474, allocations: 3.938 kB / 0.4958 GB, free: 3.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.1474, allocations: 95.27 kB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1474, allocations: 0 / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.1478, allocations: 24 kB / 0.4959 GB, free: 3.875 MB / 382.1 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 0.0001662/0.1479, allocations: 107.2 kB / 0.496 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1483, allocations: 99.86 kB / 0.4961 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1483, allocations: 0 / 0.4961 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1484, allocations: 40.41 kB / 0.4961 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1487, allocations: 15.94 kB / 0.4961 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.1493, allocations: 284.3 kB / 0.4964 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1496, allocations: 0.7079 MB / 0.4971 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.1497, allocations: 15.38 kB / 0.4971 GB, free: 2.547 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1497, allocations: 0 / 0.4971 GB, free: 2.547 MB / 382.1 MB Notification: Performance of Templates: time 0.003645/0.1533, allocations: 1.332 MB / 0.4984 GB, free: 1.219 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