Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_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.001602/0.001602, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 73.7 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1373, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003549/0.1409, allocations: 1.795 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1426, allocations: 0.8296 MB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.1428, allocations: 4 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1431, allocations: 43.75 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.1435, allocations: 71.64 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1438, allocations: 71.67 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.144, allocations: 127.5 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.1441, allocations: 19.97 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1443, allocations: 79.62 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1445, allocations: 79.66 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1445, allocations: 4 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.1447, allocations: 67.95 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.1448, allocations: 35.83 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.1449, allocations: 35.8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1452, allocations: 139.8 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1452, allocations: 0 / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1452, allocations: 0 / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.1452, allocations: 4 kB / 483.4 MB, free: 1.871 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.0007281/0.146, allocations: 415.1 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.146, allocations: 8.031 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.1465, allocations: 36.81 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1467, allocations: 176.3 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1467, allocations: 12.31 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.1467, allocations: 12.12 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1471, allocations: 184.1 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1471, allocations: 0 / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1471, allocations: 3.984 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.1472, allocations: 11.98 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.1475, allocations: 139.7 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.1483, allocations: 0.6367 MB / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.1487, allocations: 114.7 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1488, allocations: 36.83 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.1488, allocations: 3.938 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1488, allocations: 34.56 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1488, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004525/0.1493, allocations: 137.7 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.1494, allocations: 55.39 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1495, allocations: 126.1 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1495, allocations: 25.7 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.1496, allocations: 119.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1497, allocations: 31.64 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.1497, allocations: 29.72 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1499, allocations: 318.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1501, allocations: 35.97 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1502, allocations: 102 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.1505, allocations: 155.8 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1505, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003329/0.1509, allocations: 161.4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1509, allocations: 6.656 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1509, allocations: 7.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1509, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1511, allocations: 39.91 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1511, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.748e-05/0.1512, allocations: 15.84 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1513, allocations: 12.09 kB / 486.6 MB, free: 14.4 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.0001153/0.1514, allocations: 129.8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1514, allocations: 7.906 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.1517, allocations: 129.9 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1517, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1518, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1518, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.152, allocations: 205.6 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.152, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.1521, allocations: 27.97 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1521, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1522, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1522, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1522, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.1525, allocations: 223.2 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.1525, allocations: 84.95 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1525, allocations: 0 / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.1526, allocations: 11.98 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1527, allocations: 7.984 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1527, allocations: 0 / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.1528, allocations: 98.77 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1528, allocations: 0 / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.153, allocations: 28 kB / 487.5 MB, free: 13.37 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.0001456/0.1532, allocations: 95.25 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.1535, allocations: 108.2 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1535, allocations: 4.062 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1536, allocations: 47.91 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.1539, allocations: 7.938 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.1544, allocations: 254.6 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1548, allocations: 0.7127 MB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.714e-05/0.1549, allocations: 28.53 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.1549, allocations: 15.42 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1549, allocations: 7.875 kB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.003888/0.1588, allocations: 0.9281 MB / 489.7 MB, free: 11.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches