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_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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_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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008212/0.0008212, allocations: 96.72 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009287/0.0009288, allocations: 209.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.8 MB / 246.9 MB, free: 9.734 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2236/0.2236, allocations: 46.2 MB / 345.3 MB, free: 11.14 MB / 286.1 MB 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.0003656/0.0003656, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 63.57 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002296/0.1358, allocations: 1.521 MB / 484.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1372, allocations: 0.8142 MB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.1372, allocations: 0 / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1375, allocations: 35.83 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1377, allocations: 79.64 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.1379, allocations: 59.75 kB / 485.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1382, allocations: 207.4 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.1382, allocations: 4 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1384, allocations: 67.77 kB / 486 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1386, allocations: 79.67 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1386, allocations: 4 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1387, allocations: 71.86 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1388, allocations: 31.91 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.1389, allocations: 65.44 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1392, allocations: 139.8 kB / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1392, allocations: 0 / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1392, allocations: 0 / 486.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1392, allocations: 0 / 486.4 MB, free: 0.8672 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.0005861/0.1398, allocations: 391.3 kB / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1398, allocations: 8.875 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.1402, allocations: 36.72 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1404, allocations: 196.2 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1404, allocations: 8.375 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1405, allocations: 12.12 kB / 487 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.1409, allocations: 176.1 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1409, allocations: 11.88 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1409, allocations: 0 / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.1409, allocations: 11.98 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.1413, allocations: 147.8 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009513/0.1423, allocations: 0.6522 MB / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1426, allocations: 110.7 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1428, allocations: 48.83 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1428, allocations: 0 / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1428, allocations: 34.56 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1428, allocations: 0 / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004916/0.1433, allocations: 161.4 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1434, allocations: 51.41 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1435, allocations: 125.1 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1435, allocations: 33.64 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.1436, allocations: 119.8 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1437, allocations: 35.78 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1437, allocations: 17.72 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1439, allocations: 318.8 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.144, allocations: 43.97 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1442, allocations: 102.4 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.1445, allocations: 159.5 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1446, allocations: 0 / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004001/0.145, allocations: 169.5 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.145, allocations: 11.94 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.145, allocations: 3.984 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.145, allocations: 8 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1452, allocations: 39.97 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1452, allocations: 4 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1454, allocations: 19.84 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1454, allocations: 12.03 kB / 489.6 MB, free: 13.33 MB / 366.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.0001099/0.1455, allocations: 129.7 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1455, allocations: 4 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.1459, allocations: 145.8 kB / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1459, allocations: 0 / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1459, allocations: 0 / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1459, allocations: 0 / 489.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1462, allocations: 205.5 kB / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1462, allocations: 0 / 490 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1463, allocations: 27.98 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1463, allocations: 0 / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.1464, allocations: 8 kB / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1464, allocations: 0 / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1464, allocations: 0 / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.1467, allocations: 219.3 kB / 490.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.1468, allocations: 88.95 kB / 490.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1468, allocations: 7.938 kB / 490.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1469, allocations: 11.98 kB / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.147, allocations: 7.984 kB / 490.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.147, allocations: 0 / 490.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.1471, allocations: 95.27 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1471, allocations: 0 / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1474, allocations: 24 kB / 490.5 MB, free: 12.28 MB / 366.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.000155/0.1475, allocations: 107.2 kB / 490.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.1479, allocations: 116.3 kB / 490.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1479, allocations: 0 / 490.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.148, allocations: 40.67 kB / 490.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1483, allocations: 15.88 kB / 490.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.1489, allocations: 317.1 kB / 491.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1492, allocations: 0.7082 MB / 491.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1494, allocations: 32.52 kB / 491.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.1494, allocations: 11.44 kB / 491.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1494, allocations: 0 / 491.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Templates: time 0.003926/0.1533, allocations: 0.8418 MB / 492.7 MB, free: 10.08 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches