Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 117.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 199.9 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4614, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003304/0.4648, allocations: 2.01 MB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.4661, allocations: 0.836 MB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.4662, allocations: 2.094 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.4665, allocations: 70.38 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.4669, allocations: 115.2 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.4671, allocations: 68.77 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.4675, allocations: 316.9 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.987e-05/0.4676, allocations: 40.98 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.4679, allocations: 130.9 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.4681, allocations: 147.9 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.4681, allocations: 7.938 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.4684, allocations: 123.8 kB / 0.5348 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.4685, allocations: 63.12 kB / 0.5348 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.4686, allocations: 121.6 kB / 0.535 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.4691, allocations: 339.5 kB / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4691, allocations: 0 / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4691, allocations: 0 / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.4691, allocations: 1.188 kB / 0.5353 GB, free: 10.45 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008738/0.47, allocations: 0.5747 MB / 0.5358 GB, free: 9.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.47, allocations: 9.719 kB / 0.5358 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.4701, allocations: 30.62 kB / 0.5359 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.4704, allocations: 251.9 kB / 0.5361 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4704, allocations: 26.83 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4705, allocations: 24.19 kB / 0.5362 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.4711, allocations: 389.9 kB / 0.5365 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4712, allocations: 0 / 0.5365 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.4712, allocations: 18.59 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.4713, allocations: 25.2 kB / 0.5366 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006815/0.472, allocations: 407.7 kB / 0.537 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.4733, allocations: 0.8704 MB / 0.5378 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.4739, allocations: 276.4 kB / 0.5381 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.4741, allocations: 99.89 kB / 0.5382 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.4742, allocations: 10.34 kB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4742, allocations: 31.59 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.4742, allocations: 0 / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007277/0.4749, allocations: 338.2 kB / 0.5385 GB, free: 8.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.475, allocations: 56.75 kB / 0.5386 GB, free: 8.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.4754, allocations: 346.6 kB / 0.5389 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4754, allocations: 34.8 kB / 0.539 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4755, allocations: 163 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.4756, allocations: 55.12 kB / 0.5392 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.4757, allocations: 45.27 kB / 0.5392 GB, free: 7.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4758, allocations: 343.5 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.476, allocations: 90.3 kB / 0.5396 GB, free: 7.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4763, allocations: 144 kB / 0.5398 GB, free: 7.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4767, allocations: 255.2 kB / 0.54 GB, free: 7.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.4767, allocations: 1.469 kB / 0.54 GB, free: 7.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000514/0.4772, allocations: 292.5 kB / 0.5403 GB, free: 6.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4773, allocations: 10.53 kB / 0.5403 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4773, allocations: 5.312 kB / 0.5403 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4773, allocations: 2.25 kB / 0.5403 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.4778, allocations: 117 kB / 0.5404 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.4799, allocations: 3.676 MB / 0.544 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.4801, allocations: 30.48 kB / 0.544 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.4802, allocations: 12.56 kB / 0.544 GB, free: 3.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0001986/0.4804, allocations: 173.2 kB / 0.5442 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.4804, allocations: 32.06 kB / 0.5442 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.4811, allocations: 324.7 kB / 0.5446 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4811, allocations: 2.188 kB / 0.5446 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4811, allocations: 0 / 0.5446 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4812, allocations: 5.062 kB / 0.5446 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.4815, allocations: 304.1 kB / 0.5448 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4815, allocations: 0 / 0.5448 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.482, allocations: 111.5 kB / 0.545 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.482, allocations: 5.062 kB / 0.545 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4821, allocations: 11.36 kB / 0.545 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.484, allocations: 3.662 MB / 0.5485 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.484, allocations: 1.5 kB / 0.5485 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.4846, allocations: 357.1 kB / 0.5489 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.4847, allocations: 107.9 kB / 0.549 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.4847, allocations: 1.469 kB / 0.549 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4849, allocations: 12.2 kB / 0.549 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.4849, allocations: 14.55 kB / 0.549 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4849, allocations: 9.5 kB / 0.549 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002771/0.4852, allocations: 252.5 kB / 0.5493 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.4852, allocations: 0 / 0.5493 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.4856, allocations: 82.84 kB / 0.5493 GB, free: 14.31 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 (15): * Single equations (assignments): 9 * 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.0002617/0.4859, allocations: 127.1 kB / 0.5495 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008426/0.4867, allocations: 311.1 kB / 0.5498 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4868, allocations: 0 / 0.5498 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.4873, allocations: 192.2 kB / 0.5499 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.4877, allocations: 64.27 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4888, allocations: 0.596 MB / 0.5506 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4893, allocations: 0.7987 MB / 0.5514 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.4894, allocations: 66.23 kB / 0.5514 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.4895, allocations: 19.44 kB / 0.5515 GB, free: 12.1 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.4895, allocations: 0 / 0.5515 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Templates: time 0.01021/0.4997, allocations: 5.349 MB / 0.5567 GB, free: 6.832 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches