Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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=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_4.0.0_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.0009297/0.00093, allocations: 93.53 kB / 16.99 MB, free: 5.938 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.0009211/0.0009212, allocations: 181 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003263, allocations: 12.67 kB / 409.6 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002125/0.1438, allocations: 1.447 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1449, allocations: 0.698 MB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.145, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1452, allocations: 31.83 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.1455, allocations: 55.83 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1456, allocations: 59.8 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1458, allocations: 79.86 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.1459, allocations: 4 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.146, allocations: 51.83 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1461, allocations: 59.73 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1461, allocations: 4 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1463, allocations: 67.95 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.1464, allocations: 31.89 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.1465, allocations: 45.64 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1467, allocations: 88.09 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1467, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1467, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1467, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.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.0005976/0.1473, allocations: 395 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1473, allocations: 12.03 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003377/0.1477, allocations: 39.72 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1479, allocations: 183 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1479, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1479, allocations: 11.94 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.1483, allocations: 180.1 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1483, allocations: 4 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1484, allocations: 11.98 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.1484, allocations: 7.984 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.1488, allocations: 147.8 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.1496, allocations: 0.6405 MB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.15, allocations: 122.6 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.15, allocations: 0 / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.15, allocations: 38.52 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.15, allocations: 0 / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004488/0.1505, allocations: 153.5 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1506, allocations: 55.41 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.1507, allocations: 124.7 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1507, allocations: 25.7 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.1508, allocations: 128 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1508, allocations: 23.64 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.1508, allocations: 4 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1509, allocations: 318.8 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1511, allocations: 47.89 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1512, allocations: 95.7 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1514, allocations: 55.95 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1514, allocations: 4 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003372/0.1517, allocations: 165.5 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1517, allocations: 14.03 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1518, allocations: 3.953 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1518, allocations: 4 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.152, allocations: 43.91 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.152, allocations: 4 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1521, allocations: 23.83 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1521, allocations: 8 kB / 477.2 MB, free: 7.652 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.1522, allocations: 130.3 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1523, allocations: 7.984 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.1527, allocations: 134.4 kB / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1527, allocations: 3.953 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1527, allocations: 7.922 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1527, allocations: 0 / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1529, allocations: 197.5 kB / 477.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1529, allocations: 3.938 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1531, allocations: 31.97 kB / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1531, allocations: 0 / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1531, allocations: 0 / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1531, allocations: 8 kB / 477.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1531, allocations: 3.953 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.1535, allocations: 215.5 kB / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.1536, allocations: 93.03 kB / 478.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1536, allocations: 4 kB / 478.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1537, allocations: 8 kB / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.1538, allocations: 15.88 kB / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1538, allocations: 0 / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.853e-05/0.1538, allocations: 91.27 kB / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1538, allocations: 0 / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1541, allocations: 27.91 kB / 478.2 MB, free: 6.59 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.1543, allocations: 99.25 kB / 478.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1546, allocations: 112.4 kB / 478.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1546, allocations: 0 / 478.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1547, allocations: 47.91 kB / 478.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.1549, allocations: 7.984 kB / 478.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.1554, allocations: 301.3 kB / 478.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1558, allocations: 0.7121 MB / 479.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1559, allocations: 36.38 kB / 479.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.156, allocations: 11.44 kB / 479.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.156, allocations: 0 / 479.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Templates: time 0.003791/0.1598, allocations: 0.8092 MB / 480.3 MB, free: 4.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches