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.001262/0.001262, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001518, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 79.81 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4271, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003379/0.4305, allocations: 1.827 MB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.4324, allocations: 1.023 MB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4325, allocations: 2.438 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.4329, allocations: 45.25 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.4332, allocations: 61.91 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.4337, allocations: 135.2 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.434, allocations: 209.9 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.4341, allocations: 15.2 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.4343, allocations: 100.5 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.4345, allocations: 98.81 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.4346, allocations: 8 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.4349, allocations: 129.4 kB / 0.5346 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.435, allocations: 50.47 kB / 0.5346 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.4351, allocations: 85.52 kB / 0.5347 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.4355, allocations: 258.2 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4355, allocations: 0 / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4355, allocations: 0 / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4355, allocations: 0 / 0.5349 GB, free: 10.66 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009726/0.4365, allocations: 0.5287 MB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4365, allocations: 10.72 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.4369, allocations: 58.56 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.4372, allocations: 228 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4372, allocations: 12.95 kB / 0.5358 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.4372, allocations: 11.91 kB / 0.5358 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.4378, allocations: 270.8 kB / 0.536 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4378, allocations: 0.9688 kB / 0.536 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.4379, allocations: 1.156 kB / 0.536 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.4379, allocations: 22.94 kB / 0.536 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006309/0.4385, allocations: 220.8 kB / 0.5363 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.4397, allocations: 0.8137 MB / 0.5371 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.4401, allocations: 189.2 kB / 0.5372 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.4403, allocations: 97.78 kB / 0.5373 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.4404, allocations: 10.38 kB / 0.5373 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4404, allocations: 36.41 kB / 0.5374 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4404, allocations: 3.938 kB / 0.5374 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009476/0.4414, allocations: 312.8 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.4415, allocations: 108.1 kB / 0.5378 GB, free: 8.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.4418, allocations: 265.3 kB / 0.538 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4418, allocations: 30.7 kB / 0.5381 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.442, allocations: 133.2 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.442, allocations: 40.92 kB / 0.5382 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.4421, allocations: 39.58 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4422, allocations: 336.2 kB / 0.5386 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.4425, allocations: 87.06 kB / 0.5387 GB, free: 7.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.4428, allocations: 136.4 kB / 0.5388 GB, free: 7.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.4434, allocations: 231.1 kB / 0.539 GB, free: 7.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4434, allocations: 0 / 0.539 GB, free: 7.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006501/0.444, allocations: 276.4 kB / 0.5393 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.444, allocations: 5.594 kB / 0.5393 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.4441, allocations: 10.81 kB / 0.5393 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4441, allocations: 2.844 kB / 0.5393 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.4443, allocations: 40.27 kB / 0.5393 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.4444, allocations: 7.188 kB / 0.5393 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4446, allocations: 37.64 kB / 0.5394 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.4446, allocations: 10.11 kB / 0.5394 GB, free: 7.184 MB / 398.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.0001401/0.4448, allocations: 137.4 kB / 0.5395 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.4448, allocations: 29 kB / 0.5395 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.4454, allocations: 218.5 kB / 0.5398 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.4454, allocations: 6.25 kB / 0.5398 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4454, allocations: 1.188 kB / 0.5398 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4454, allocations: 5.109 kB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.4458, allocations: 250.6 kB / 0.54 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.4459, allocations: 15.17 kB / 0.54 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.446, allocations: 34.22 kB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4461, allocations: 1.375 kB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4461, allocations: 4.094 kB / 0.5401 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/0.4461, allocations: 5.141 kB / 0.5401 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4461, allocations: 4.188 kB / 0.5401 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.4468, allocations: 481.4 kB / 0.5405 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.4469, allocations: 109.7 kB / 0.5406 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.4469, allocations: 9.031 kB / 0.5406 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.4472, allocations: 18.22 kB / 0.5407 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4473, allocations: 14.52 kB / 0.5407 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4473, allocations: 8.531 kB / 0.5407 GB, free: 6.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.4475, allocations: 193.1 kB / 0.5409 GB, free: 5.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4475, allocations: 0 / 0.5409 GB, free: 5.984 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000451/0.448, allocations: 70.89 kB / 0.5409 GB, free: 5.969 MB / 398.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.0002837/0.4483, allocations: 154.8 kB / 0.5411 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.449, allocations: 294.5 kB / 0.5414 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.449, allocations: 0 / 0.5414 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4493, allocations: 178 kB / 0.5415 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.4499, allocations: 47.14 kB / 0.5416 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4509, allocations: 454.8 kB / 0.542 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.4513, allocations: 0.7394 MB / 0.5427 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.4514, allocations: 43.61 kB / 0.5428 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.4515, allocations: 20.42 kB / 0.5428 GB, free: 4.473 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4515, allocations: 0 / 0.5428 GB, free: 4.473 MB / 398.1 MB Notification: Performance of Templates: time 0.007362/0.4589, allocations: 3.527 MB / 0.5462 GB, free: 1.637 MB / 398.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/jenkins/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/jenkins/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