Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000944/0.0009441, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.7 MB / 247.5 MB, free: 9.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 46.17 MB / 345.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003931, allocations: 8.328 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 63.56 MB / 483.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002043/0.1255, allocations: 1.544 MB / 485.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1272, allocations: 1.001 MB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.1273, allocations: 3.938 kB / 486.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.1275, allocations: 39.81 kB / 486.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1277, allocations: 63.66 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1281, allocations: 111.7 kB / 486.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.1285, allocations: 291.1 kB / 486.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.1285, allocations: 17.55 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1288, allocations: 79.69 kB / 486.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1289, allocations: 103.6 kB / 487 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.129, allocations: 11.94 kB / 487 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.1292, allocations: 123.8 kB / 487.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.1293, allocations: 55.73 kB / 487.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1294, allocations: 105.2 kB / 487.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1297, allocations: 171.8 kB / 487.5 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1297, allocations: 0 / 487.5 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.666e-06/0.1297, allocations: 0 / 487.5 MB, free: 388 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1298, allocations: 3.938 kB / 487.5 MB, free: 384 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009688/0.1307, allocations: 0.5145 MB / 488 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1308, allocations: 12.88 kB / 488 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/0.1312, allocations: 60.7 kB / 488 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1314, allocations: 223.9 kB / 488.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1315, allocations: 8.609 kB / 488.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.1315, allocations: 12.38 kB / 488.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.1321, allocations: 286.9 kB / 488.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1321, allocations: 0 / 488.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1321, allocations: 8 kB / 488.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.1322, allocations: 12.23 kB / 488.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.1328, allocations: 248.4 kB / 488.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1338, allocations: 0.8179 MB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.1342, allocations: 203.7 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.1346, allocations: 114.5 kB / 490 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.1346, allocations: 4 kB / 490 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1346, allocations: 34.56 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.1346, allocations: 0 / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009849/0.1356, allocations: 357.4 kB / 490.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.1357, allocations: 110.8 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.136, allocations: 269 kB / 490.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.136, allocations: 25.7 kB / 490.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.1361, allocations: 127.9 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.1361, allocations: 43.45 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1362, allocations: 21.7 kB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1363, allocations: 334.7 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.1366, allocations: 107.9 kB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.1369, allocations: 141 kB / 491.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.1375, allocations: 257.2 kB / 491.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1375, allocations: 7.938 kB / 491.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006988/0.1382, allocations: 297.2 kB / 492 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1382, allocations: 8 kB / 492.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.1382, allocations: 4 kB / 492.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1382, allocations: 4.156 kB / 492.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1385, allocations: 51.95 kB / 492.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1385, allocations: 3.938 kB / 492.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.1388, allocations: 47.66 kB / 492.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1388, allocations: 8 kB / 492.2 MB, free: 11.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001344/0.1389, allocations: 145.8 kB / 492.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.139, allocations: 15.81 kB / 492.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.1395, allocations: 231.2 kB / 492.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1395, allocations: 8 kB / 492.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1396, allocations: 0 / 492.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1396, allocations: 0 / 492.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.14, allocations: 261.4 kB / 492.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.14, allocations: 8 kB / 492.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.1402, allocations: 39.91 kB / 492.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1402, allocations: 3.984 kB / 492.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1402, allocations: 8 kB / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1402, allocations: 4 kB / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1402, allocations: 0 / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.1409, allocations: 0.4938 MB / 493.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.141, allocations: 97.05 kB / 493.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.141, allocations: 4 kB / 493.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1413, allocations: 31.91 kB / 493.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1413, allocations: 19.92 kB / 493.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1414, allocations: 11.92 kB / 493.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1415, allocations: 188.5 kB / 493.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1415, allocations: 0 / 493.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.142, allocations: 67.98 kB / 493.8 MB, free: 9.621 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002312/0.1422, allocations: 155.1 kB / 493.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006935/0.1429, allocations: 313 kB / 494.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1429, allocations: 0 / 494.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.1433, allocations: 197.1 kB / 494.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1438, allocations: 32.42 kB / 494.5 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.1447, allocations: 0.5576 MB / 495 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.145, allocations: 0.7361 MB / 495.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1451, allocations: 23.42 kB / 495.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1451, allocations: 0 / 495.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of Templates: time 0.005642/0.1507, allocations: 3.522 MB / 499.3 MB, free: 4.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches