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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.001394/0.001394, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.551/1.551, allocations: 227.4 MB / 252.3 MB, free: 124 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.18 MB / 351.8 MB, free: 14.31 MB / 286.1 MB " [Timeout remaining time 180] 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=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_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=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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003194/0.003194, allocations: 78.59 kB / 490.9 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1299, allocations: 62.45 MB / 0.5404 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003336/0.1333, allocations: 1.811 MB / 0.5421 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1348, allocations: 0.8257 MB / 0.543 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1349, allocations: 4 kB / 0.543 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1352, allocations: 47.69 kB / 0.543 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1356, allocations: 75.64 kB / 0.5431 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1358, allocations: 67.67 kB / 0.5431 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.136, allocations: 131.5 kB / 0.5433 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.1361, allocations: 8 kB / 0.5433 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.1363, allocations: 79.62 kB / 0.5433 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.1365, allocations: 75.78 kB / 0.5434 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1365, allocations: 4 kB / 0.5434 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1367, allocations: 75.89 kB / 0.5435 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.1368, allocations: 31.84 kB / 0.5435 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.1368, allocations: 43.73 kB / 0.5436 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1371, allocations: 139.5 kB / 0.5437 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1372, allocations: 0 / 0.5437 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1372, allocations: 0 / 0.5437 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1372, allocations: 0 / 0.5437 GB, free: 0.8633 MB / 398.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.0006132/0.1378, allocations: 414.9 kB / 0.5441 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1378, allocations: 11.97 kB / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.1382, allocations: 36.81 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1384, allocations: 192.3 kB / 0.5443 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1384, allocations: 8.312 kB / 0.5443 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1385, allocations: 16.12 kB / 0.5444 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.1389, allocations: 176.1 kB / 0.5445 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1389, allocations: 0 / 0.5445 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1389, allocations: 7.984 kB / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.139, allocations: 12 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.1393, allocations: 135.8 kB / 0.5447 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.1403, allocations: 0.6484 MB / 0.5453 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.1406, allocations: 102.7 kB / 0.5454 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1407, allocations: 36.83 kB / 0.5454 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.1408, allocations: 8 kB / 0.5454 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1408, allocations: 34.5 kB / 0.5455 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1408, allocations: 0 / 0.5455 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004623/0.1413, allocations: 133.6 kB / 0.5456 GB, free: 14.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.1413, allocations: 59.39 kB / 0.5457 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1415, allocations: 120.2 kB / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1415, allocations: 29.7 kB / 0.5458 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.1416, allocations: 128 kB / 0.5459 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1416, allocations: 31.92 kB / 0.546 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.1417, allocations: 29.7 kB / 0.546 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1418, allocations: 318.8 kB / 0.5463 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1419, allocations: 35.95 kB / 0.5463 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1421, allocations: 101.6 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.1424, allocations: 143.8 kB / 0.5466 GB, free: 13.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1424, allocations: 0 / 0.5466 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003456/0.1427, allocations: 161.4 kB / 0.5467 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1428, allocations: 8 kB / 0.5467 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1428, allocations: 7.938 kB / 0.5467 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1428, allocations: 0 / 0.5467 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.143, allocations: 43.97 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.143, allocations: 8.188 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/0.1431, allocations: 19.88 kB / 0.5468 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1431, allocations: 16 kB / 0.5468 GB, free: 13.37 MB / 414.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.0001074/0.1432, allocations: 125.8 kB / 0.5469 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1433, allocations: 7.953 kB / 0.5469 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.1436, allocations: 117.9 kB / 0.547 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1436, allocations: 8 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1436, allocations: 3.984 kB / 0.5471 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1436, allocations: 0 / 0.5471 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1439, allocations: 197.6 kB / 0.5472 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1439, allocations: 0 / 0.5472 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.144, allocations: 35.91 kB / 0.5473 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.144, allocations: 0 / 0.5473 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.144, allocations: 4 kB / 0.5473 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1441, allocations: 0 / 0.5473 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1441, allocations: 0 / 0.5473 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1444, allocations: 211.3 kB / 0.5475 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1445, allocations: 92.98 kB / 0.5476 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1445, allocations: 0 / 0.5476 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.1446, allocations: 8 kB / 0.5476 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1446, allocations: 7.984 kB / 0.5476 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1446, allocations: 0 / 0.5476 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.1447, allocations: 99.27 kB / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1447, allocations: 0 / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.145, allocations: 27.95 kB / 0.5477 GB, free: 12.34 MB / 414.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.0001497/0.1451, allocations: 103.2 kB / 0.5478 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1455, allocations: 103.8 kB / 0.5479 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1455, allocations: 0 / 0.5479 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1456, allocations: 39.97 kB / 0.5479 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1459, allocations: 11.92 kB / 0.548 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.1464, allocations: 284.8 kB / 0.5482 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1467, allocations: 0.7041 MB / 0.5489 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.1468, allocations: 19.38 kB / 0.5489 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1468, allocations: 0 / 0.5489 GB, free: 11.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003405/0.1502, allocations: 1.317 MB / 0.5502 GB, free: 9.703 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.57231434690766]