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.001119/0.001119, allocations: 123.9 kB / 18.45 MB, free: 4.594 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.00133/0.00133, allocations: 201.8 kB / 21.4 MB, free: 1.648 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.469/1.469, allocations: 227.4 MB / 251.6 MB, free: 60 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.2363/0.2363, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.002263/0.002263, allocations: 77.23 kB / 490.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1328, allocations: 62.45 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003444/0.1363, allocations: 1.804 MB / 0.5415 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1378, allocations: 0.8296 MB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.1378, allocations: 0 / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.1381, allocations: 47.7 kB / 0.5423 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1384, allocations: 71.64 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1386, allocations: 75.66 kB / 0.5425 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1388, allocations: 127.5 kB / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.1389, allocations: 15.97 kB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1391, allocations: 71.64 kB / 0.5427 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1393, allocations: 83.72 kB / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1393, allocations: 4 kB / 0.5428 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1395, allocations: 67.94 kB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.1396, allocations: 35.84 kB / 0.5429 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.1397, allocations: 39.73 kB / 0.5429 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.14, allocations: 143.5 kB / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.14, allocations: 0 / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.14, allocations: 0 / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.14, allocations: 3.938 kB / 0.543 GB, free: 0.7969 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.0006904/0.1407, allocations: 414.9 kB / 0.5434 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1408, allocations: 12.03 kB / 0.5434 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/0.1411, allocations: 32.81 kB / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1413, allocations: 184.3 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1414, allocations: 16.34 kB / 0.5437 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1414, allocations: 15.94 kB / 0.5437 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1418, allocations: 168.1 kB / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1418, allocations: 4 kB / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1418, allocations: 4 kB / 0.5438 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.1419, allocations: 11.98 kB / 0.5439 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.1422, allocations: 139.8 kB / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009385/0.1432, allocations: 0.6367 MB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.1435, allocations: 110.7 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1437, allocations: 44.81 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1437, allocations: 3.938 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1437, allocations: 42.5 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1437, allocations: 0 / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000452/0.1442, allocations: 133.7 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1442, allocations: 55.41 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1444, allocations: 127.4 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1444, allocations: 25.7 kB / 0.5451 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.1445, allocations: 124 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1445, allocations: 31.73 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/0.1446, allocations: 29.72 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1447, allocations: 322.8 kB / 0.5456 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1449, allocations: 35.97 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.145, allocations: 95.62 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1453, allocations: 143.5 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1453, allocations: 0 / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003566/0.1457, allocations: 165.4 kB / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1457, allocations: 8 kB / 0.546 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1457, allocations: 3.938 kB / 0.546 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1457, allocations: 4 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1459, allocations: 47.91 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1459, allocations: 0 / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.146, allocations: 15.89 kB / 0.5461 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1461, allocations: 16.2 kB / 0.5461 GB, free: 13.31 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.0001107/0.1462, allocations: 125.8 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1462, allocations: 7.953 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.1466, allocations: 121.9 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1466, allocations: 0 / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1466, allocations: 0 / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1466, allocations: 4 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1469, allocations: 201.5 kB / 0.5466 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1469, allocations: 4 kB / 0.5466 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.147, allocations: 27.98 kB / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.147, allocations: 0 / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1471, allocations: 0 / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1471, allocations: 0 / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1471, allocations: 3.984 kB / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1474, allocations: 215.3 kB / 0.5468 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1475, allocations: 85 kB / 0.5469 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1475, allocations: 4 kB / 0.5469 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.1476, allocations: 11.97 kB / 0.5469 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1476, allocations: 7.984 kB / 0.5469 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1476, allocations: 4 kB / 0.5469 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.612e-05/0.1477, allocations: 97.95 kB / 0.547 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1477, allocations: 4 kB / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.148, allocations: 27.95 kB / 0.547 GB, free: 12.28 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.0001447/0.1481, allocations: 95.25 kB / 0.5471 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.1485, allocations: 108.8 kB / 0.5472 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1485, allocations: 0 / 0.5472 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1486, allocations: 43.91 kB / 0.5473 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1488, allocations: 15.94 kB / 0.5473 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.1493, allocations: 247 kB / 0.5475 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1497, allocations: 0.7119 MB / 0.5482 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.1498, allocations: 32.45 kB / 0.5483 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1498, allocations: 15.42 kB / 0.5483 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1498, allocations: 0 / 0.5483 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004119/0.154, allocations: 0.9391 MB / 0.5492 GB, free: 10.05 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.092576307244599]