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.001152/0.001152, allocations: 97.28 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 205.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2607/0.2607, allocations: 46.19 MB / 345.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 419.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002347/0.1231, allocations: 1.521 MB / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1248, allocations: 0.8064 MB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.1249, allocations: 8 kB / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1252, allocations: 35.83 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.1256, allocations: 75.64 kB / 485.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1258, allocations: 55.81 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1261, allocations: 207.3 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.1262, allocations: 12 kB / 485.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.1264, allocations: 67.77 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1266, allocations: 79.66 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1266, allocations: 4 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1268, allocations: 71.88 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.1268, allocations: 27.91 kB / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1269, allocations: 61.5 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1272, allocations: 139.8 kB / 486.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1272, allocations: 3.984 kB / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1272, allocations: 0 / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1272, allocations: 0 / 486.3 MB, free: 0.9766 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.0005472/0.1278, allocations: 395.3 kB / 486.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1278, allocations: 12.88 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.1282, allocations: 36.72 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1284, allocations: 196.2 kB / 486.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1284, allocations: 8.375 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1285, allocations: 12.12 kB / 486.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.1289, allocations: 180.8 kB / 487.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1289, allocations: 3.938 kB / 487.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.129, allocations: 3.984 kB / 487.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.462e-05/0.129, allocations: 15.92 kB / 487.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.1294, allocations: 147.8 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1304, allocations: 0.6484 MB / 487.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1308, allocations: 118.6 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.1309, allocations: 44.83 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.131, allocations: 0 / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.131, allocations: 34.56 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.131, allocations: 0 / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.1315, allocations: 157.5 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1315, allocations: 55.41 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1317, allocations: 125.6 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1317, allocations: 25.7 kB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1318, allocations: 124 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.1318, allocations: 27.62 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.1318, allocations: 17.72 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.132, allocations: 322.8 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1321, allocations: 43.97 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1323, allocations: 99.69 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1326, allocations: 159.8 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1326, allocations: 0 / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003733/0.133, allocations: 173.3 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.133, allocations: 4 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.133, allocations: 4 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.133, allocations: 4 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1332, allocations: 48.16 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1332, allocations: 4 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1334, allocations: 19.84 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1334, allocations: 4 kB / 489.5 MB, free: 13.45 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.0001225/0.1335, allocations: 133.7 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1336, allocations: 4 kB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.1339, allocations: 141.8 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1339, allocations: 4 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1339, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1339, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.1343, allocations: 205.6 kB / 490 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1343, allocations: 7.875 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.1345, allocations: 27.98 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1345, allocations: 0 / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1345, allocations: 0 / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1345, allocations: 0 / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1345, allocations: 0 / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.1349, allocations: 223.3 kB / 490.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.135, allocations: 88.95 kB / 490.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.135, allocations: 8 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1351, allocations: 11.98 kB / 490.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.1352, allocations: 11.97 kB / 490.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1352, allocations: 4 kB / 490.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.1353, allocations: 95.2 kB / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1353, allocations: 0 / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1356, allocations: 24 kB / 490.5 MB, free: 12.38 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.0001472/0.1357, allocations: 99.25 kB / 490.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.1361, allocations: 107.9 kB / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1361, allocations: 0 / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1362, allocations: 52.41 kB / 490.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.1365, allocations: 11.94 kB / 490.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.1371, allocations: 313.1 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1374, allocations: 0.7121 MB / 491.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1376, allocations: 32.5 kB / 491.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.1376, allocations: 11.44 kB / 491.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1376, allocations: 0 / 491.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.003601/0.1412, allocations: 0.8427 MB / 492.6 MB, free: 10.18 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