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.001278/0.001277, allocations: 114.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 79.88 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1417, allocations: 62.46 MB / 481.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003339/0.1451, allocations: 1.794 MB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1464, allocations: 0.8335 MB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1465, allocations: 0 / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.1467, allocations: 47.75 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.147, allocations: 71.66 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.1472, allocations: 71.66 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1474, allocations: 131.5 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.1474, allocations: 8 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1476, allocations: 71.7 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1478, allocations: 87.64 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1478, allocations: 4 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.148, allocations: 75.89 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.148, allocations: 27.91 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.1481, allocations: 35.8 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1484, allocations: 143.5 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1484, allocations: 0 / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1484, allocations: 0 / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1484, allocations: 0 / 484.9 MB, free: 1.082 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.0006016/0.149, allocations: 415.1 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1491, allocations: 12.03 kB / 485.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.1494, allocations: 28.81 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1496, allocations: 188.3 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1496, allocations: 12.36 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1497, allocations: 12.06 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.15, allocations: 180.1 kB / 485.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1501, allocations: 0 / 485.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1501, allocations: 4 kB / 485.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.1501, allocations: 11.98 kB / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.1504, allocations: 139.7 kB / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.1513, allocations: 0.6406 MB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.1516, allocations: 102.6 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1518, allocations: 48.77 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1518, allocations: 0 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1518, allocations: 34.56 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1518, allocations: 0 / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003998/0.1522, allocations: 137.7 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1523, allocations: 55.41 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1524, allocations: 126.1 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1524, allocations: 25.7 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.1525, allocations: 119.8 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1525, allocations: 27.64 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1526, allocations: 33.66 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1527, allocations: 318.8 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1528, allocations: 43.97 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.153, allocations: 94.08 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1533, allocations: 143.8 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1533, allocations: 4 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003135/0.1536, allocations: 169.3 kB / 487.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1536, allocations: 8 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1536, allocations: 0 / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1537, allocations: 4 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1538, allocations: 44.16 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1538, allocations: 4 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-05/0.1539, allocations: 19.83 kB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.154, allocations: 8 kB / 488 MB, free: 13.61 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.000106/0.1541, allocations: 133.7 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.1541, allocations: 7.844 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.1544, allocations: 126 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1544, allocations: 0 / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1544, allocations: 0 / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1544, allocations: 3.984 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.1547, allocations: 201.6 kB / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1547, allocations: 0 / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.1548, allocations: 27.98 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1548, allocations: 0 / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1548, allocations: 7.984 kB / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1548, allocations: 0 / 488.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1549, allocations: 3.938 kB / 488.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.1552, allocations: 207.3 kB / 488.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1552, allocations: 84.95 kB / 488.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1552, allocations: 7.984 kB / 488.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.1553, allocations: 12 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.1554, allocations: 7.922 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1554, allocations: 4 kB / 488.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.1555, allocations: 94.52 kB / 488.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1555, allocations: 0 / 488.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1557, allocations: 24 kB / 489 MB, free: 12.58 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.0001241/0.1559, allocations: 99.25 kB / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.1561, allocations: 107.8 kB / 489.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1562, allocations: 0 / 489.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1563, allocations: 39.91 kB / 489.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1565, allocations: 11.94 kB / 489.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.157, allocations: 259.1 kB / 489.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1572, allocations: 0.7049 MB / 490.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.272e-05/0.1573, allocations: 32.52 kB / 490.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1574, allocations: 11.44 kB / 490.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1574, allocations: 0 / 490.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Templates: time 0.003157/0.1605, allocations: 0.9383 MB / 491.2 MB, free: 10.36 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 -s cvode -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/jenkins1/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/jenkins1/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