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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002199/0.002199, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2305/0.2305, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] 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=5050,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=5050,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") [Timeout 660] "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.002418/0.002418, allocations: 79.88 kB / 0.4924 GB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1369, allocations: 65.99 MB / 0.5568 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003392/0.1403, allocations: 1.813 MB / 0.5586 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1417, allocations: 0.8374 MB / 0.5594 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.1418, allocations: 4 kB / 0.5594 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.142, allocations: 35.77 kB / 0.5595 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1423, allocations: 79.58 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.1425, allocations: 63.73 kB / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1427, allocations: 139.4 kB / 0.5597 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.1428, allocations: 15.95 kB / 0.5597 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.143, allocations: 71.75 kB / 0.5598 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1432, allocations: 83.7 kB / 0.5599 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1432, allocations: 8 kB / 0.5599 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.1434, allocations: 75.89 kB / 0.56 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.1434, allocations: 31.83 kB / 0.56 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.1435, allocations: 39.8 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1438, allocations: 143.3 kB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1438, allocations: 4 kB / 0.5602 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1438, allocations: 0 / 0.5602 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1438, allocations: 0 / 0.5602 GB, free: 2.449 MB / 414.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.0006747/0.1445, allocations: 411 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1445, allocations: 12.03 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.1449, allocations: 36.81 kB / 0.5606 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1451, allocations: 188.2 kB / 0.5608 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1451, allocations: 8.375 kB / 0.5608 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.1451, allocations: 20.05 kB / 0.5608 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1455, allocations: 168.1 kB / 0.561 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1455, allocations: 4 kB / 0.561 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1455, allocations: 4 kB / 0.561 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.1456, allocations: 15.92 kB / 0.561 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.1459, allocations: 131.9 kB / 0.5611 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.1468, allocations: 0.6406 MB / 0.5618 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.1471, allocations: 106.6 kB / 0.5619 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1473, allocations: 44.83 kB / 0.5619 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1473, allocations: 0 / 0.5619 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1473, allocations: 34.5 kB / 0.5619 GB, free: 468 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1473, allocations: 0 / 0.5619 GB, free: 468 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004522/0.1478, allocations: 141.6 kB / 0.5621 GB, free: 320 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1478, allocations: 55.41 kB / 0.5621 GB, free: 252 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1479, allocations: 125.4 kB / 0.5622 GB, free: 116 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1479, allocations: 33.7 kB / 0.5623 GB, free: 76 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.148, allocations: 124 kB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1481, allocations: 27.78 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.1481, allocations: 29.72 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1483, allocations: 318.8 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1484, allocations: 31.97 kB / 0.5628 GB, free: 15.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1485, allocations: 99.69 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1488, allocations: 147.5 kB / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1488, allocations: 0 / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003501/0.1492, allocations: 169.7 kB / 0.5632 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1492, allocations: 4 kB / 0.5632 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.1492, allocations: 4 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1492, allocations: 4 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1494, allocations: 44.16 kB / 0.5632 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1494, allocations: 4 kB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-05/0.1495, allocations: 23.88 kB / 0.5633 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1495, allocations: 4 kB / 0.5633 GB, free: 14.98 MB / 430.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.0001131/0.1496, allocations: 129.7 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1497, allocations: 11.95 kB / 0.5634 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.15, allocations: 122 kB / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.15, allocations: 0 / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.15, allocations: 0 / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.15, allocations: 0 / 0.5635 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1503, allocations: 201.5 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1503, allocations: 0 / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1504, allocations: 27.92 kB / 0.5637 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1504, allocations: 7.938 kB / 0.5637 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1504, allocations: 7.984 kB / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1504, allocations: 4 kB / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1504, allocations: 0 / 0.5637 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.1508, allocations: 211.4 kB / 0.5639 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.1508, allocations: 85 kB / 0.564 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1508, allocations: 3.984 kB / 0.564 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.1509, allocations: 7.984 kB / 0.564 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.151, allocations: 11.98 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.151, allocations: 4 kB / 0.5641 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.151, allocations: 95.27 kB / 0.5641 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.151, allocations: 3.938 kB / 0.5642 GB, free: 13.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1513, allocations: 23.95 kB / 0.5642 GB, free: 13.93 MB / 430.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.0001392/0.1515, allocations: 103.2 kB / 0.5643 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1518, allocations: 91.86 kB / 0.5644 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1518, allocations: 0 / 0.5644 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1519, allocations: 39.91 kB / 0.5644 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1521, allocations: 11.94 kB / 0.5644 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.1527, allocations: 284.8 kB / 0.5647 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.153, allocations: 0.708 MB / 0.5654 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.153, allocations: 19.44 kB / 0.5654 GB, free: 12.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.153, allocations: 0 / 0.5654 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Templates: time 0.003176/0.1562, allocations: 1.318 MB / 0.5667 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.456275439122692]