Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001562, allocations: 75.03 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003385/0.1245, allocations: 1.705 MB / 482.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.126, allocations: 0.7634 MB / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.1262, allocations: 0 / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1264, allocations: 35.75 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1268, allocations: 63.72 kB / 483.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1271, allocations: 55.75 kB / 483.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.1274, allocations: 155.3 kB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/0.1275, allocations: 17.39 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1276, allocations: 59.7 kB / 483.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.1279, allocations: 75.72 kB / 483.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1279, allocations: 4 kB / 483.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1281, allocations: 71.88 kB / 483.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.1282, allocations: 51.77 kB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.1283, allocations: 67.61 kB / 483.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1287, allocations: 171.7 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1287, allocations: 0 / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1287, allocations: 0 / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1287, allocations: 0 / 484 MB, free: 1.977 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007794/0.1295, allocations: 458.8 kB / 484.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1295, allocations: 8.031 kB / 484.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006267/0.1302, allocations: 76.66 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.1304, allocations: 220 kB / 484.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1305, allocations: 12.31 kB / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1305, allocations: 4.375 kB / 484.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.131, allocations: 272.8 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.131, allocations: 0 / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1311, allocations: 8 kB / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.1311, allocations: 15.98 kB / 485 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.1316, allocations: 243.8 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1328, allocations: 0.6524 MB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.1333, allocations: 222.3 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1335, allocations: 84.83 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1335, allocations: 4 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1336, allocations: 42.56 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.1336, allocations: 3.938 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007095/0.1343, allocations: 288.6 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1343, allocations: 51.41 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1346, allocations: 234.1 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1346, allocations: 25.7 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1347, allocations: 119.9 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1348, allocations: 47.34 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.1349, allocations: 49.62 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.135, allocations: 326.8 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.1352, allocations: 79.91 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.1354, allocations: 114 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.1358, allocations: 203.2 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1359, allocations: 3.938 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005132/0.1364, allocations: 253.2 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1364, allocations: 4.094 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1364, allocations: 4.109 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1364, allocations: 7.938 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.1388, allocations: 263.6 kB / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009845/0.1487, allocations: 9.245 MB / 497.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.149, allocations: 19.88 kB / 497.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1491, allocations: 11.98 kB / 497.6 MB, free: 3.285 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.1492, allocations: 141.7 kB / 497.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1493, allocations: 15.81 kB / 497.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.1498, allocations: 254.9 kB / 498 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1498, allocations: 0 / 498 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1498, allocations: 0 / 498 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1498, allocations: 0 / 498 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1501, allocations: 237.4 kB / 498.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1501, allocations: 4 kB / 498.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.1518, allocations: 227.7 kB / 498.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1518, allocations: 0 / 498.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1519, allocations: 0 / 498.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007991/0.1599, allocations: 8.752 MB / 0.4953 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1599, allocations: 0 / 0.4953 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.1604, allocations: 291 kB / 0.4956 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.1605, allocations: 100.8 kB / 0.4957 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.1605, allocations: 4 kB / 0.4957 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1608, allocations: 11.98 kB / 0.4957 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.1609, allocations: 23.91 kB / 0.4957 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1609, allocations: 4 kB / 0.4957 GB, free: 8.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1611, allocations: 195.1 kB / 0.4959 GB, free: 8.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1611, allocations: 0 / 0.4959 GB, free: 8.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000472/0.1616, allocations: 64 kB / 0.496 GB, free: 8.066 MB / 382.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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.1618, allocations: 107.2 kB / 0.4961 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.1653, allocations: 495.4 kB / 0.4966 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.1653, allocations: 0 / 0.4966 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.1676, allocations: 339.5 kB / 0.4969 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.168, allocations: 42.97 kB / 0.4969 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1691, allocations: 452.9 kB / 0.4973 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1694, allocations: 0.7476 MB / 0.4981 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.1695, allocations: 15.44 kB / 0.4981 GB, free: 5.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1695, allocations: 4 kB / 0.4981 GB, free: 5.828 MB / 382.1 MB Notification: Performance of Templates: time 0.1926/0.3621, allocations: 6.357 MB / 0.5043 GB, free: 40.77 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches