Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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,tolerance=1e-06,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.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,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.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 83.86 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4595, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.004336/0.4639, allocations: 2.078 MB / 0.533 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.4666, allocations: 1.33 MB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.4668, allocations: 2.812 kB / 0.5343 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.4673, allocations: 72.66 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.4677, allocations: 93.75 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4687, allocations: 206.1 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.4695, allocations: 431.8 kB / 0.5351 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4696, allocations: 48.28 kB / 0.5352 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.4701, allocations: 155.5 kB / 0.5353 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.4706, allocations: 171.5 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.4706, allocations: 11.84 kB / 0.5355 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.4715, allocations: 272.9 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.4717, allocations: 91.58 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.4721, allocations: 157.4 kB / 0.536 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4733, allocations: 0.5271 MB / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4733, allocations: 0 / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4733, allocations: 1.219 kB / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.62e-05/0.4733, allocations: 0 / 0.5365 GB, free: 9.598 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002162/0.4755, allocations: 0.7068 MB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.4756, allocations: 9.375 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/0.4762, allocations: 82.52 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.4767, allocations: 292.9 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.4768, allocations: 28.66 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.4769, allocations: 35.91 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.478, allocations: 0.5532 MB / 0.5382 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.478, allocations: 4.906 kB / 0.5382 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.4781, allocations: 18.97 kB / 0.5382 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.4781, allocations: 17.56 kB / 0.5382 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.4791, allocations: 414.3 kB / 0.5386 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.482, allocations: 1.278 MB / 0.5398 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.4827, allocations: 276.6 kB / 0.5401 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.4831, allocations: 137.5 kB / 0.5402 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-05/0.4832, allocations: 15.78 kB / 0.5402 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.4833, allocations: 40.78 kB / 0.5403 GB, free: 6.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.364e-06/0.4833, allocations: 0 / 0.5403 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001417/0.4847, allocations: 476.5 kB / 0.5407 GB, free: 6.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.4848, allocations: 103.8 kB / 0.5408 GB, free: 6.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.4857, allocations: 499.9 kB / 0.5413 GB, free: 6.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.4857, allocations: 31.08 kB / 0.5413 GB, free: 6.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4859, allocations: 209.5 kB / 0.5415 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.486, allocations: 62.78 kB / 0.5416 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.4861, allocations: 64.77 kB / 0.5417 GB, free: 5.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.4863, allocations: 358.2 kB / 0.542 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.4867, allocations: 135.1 kB / 0.5421 GB, free: 5.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.4872, allocations: 217.7 kB / 0.5423 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.488, allocations: 366.1 kB / 0.5427 GB, free: 5.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.488, allocations: 1.25 kB / 0.5427 GB, free: 5.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001015/0.489, allocations: 420.5 kB / 0.5431 GB, free: 4.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.489, allocations: 9.719 kB / 0.5431 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.613e-05/0.4891, allocations: 32.77 kB / 0.5431 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4892, allocations: 4 kB / 0.5431 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.4894, allocations: 39.91 kB / 0.5432 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4894, allocations: 0 / 0.5432 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.4898, allocations: 67.62 kB / 0.5432 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.4898, allocations: 12 kB / 0.5433 GB, free: 4.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002442/0.4901, allocations: 201.6 kB / 0.5434 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.4902, allocations: 39.47 kB / 0.5435 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.491, allocations: 396.8 kB / 0.5439 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4911, allocations: 4 kB / 0.5439 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4911, allocations: 3.938 kB / 0.5439 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4911, allocations: 8 kB / 0.5439 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.4918, allocations: 369.3 kB / 0.5442 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.212e-05/0.4918, allocations: 31.92 kB / 0.5443 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.492, allocations: 23.97 kB / 0.5443 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.492, allocations: 7.938 kB / 0.5443 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.492, allocations: 8 kB / 0.5443 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.492, allocations: 8 kB / 0.5443 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.492, allocations: 0 / 0.5443 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.4929, allocations: 0.5871 MB / 0.5449 GB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.493, allocations: 124.5 kB / 0.545 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.4931, allocations: 0 / 0.545 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.4934, allocations: 19.98 kB / 0.545 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.4935, allocations: 19.97 kB / 0.545 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4935, allocations: 8 kB / 0.545 GB, free: 2.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003951/0.4939, allocations: 367.1 kB / 0.5454 GB, free: 2.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4939, allocations: 0 / 0.5454 GB, free: 2.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006393/0.4946, allocations: 123.9 kB / 0.5455 GB, free: 2.41 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004826/0.4951, allocations: 171.1 kB / 0.5457 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009317/0.496, allocations: 0.534 MB / 0.5462 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.496, allocations: 0.6875 kB / 0.5462 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.4966, allocations: 395.1 kB / 0.5466 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.4973, allocations: 97.98 kB / 0.5467 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4988, allocations: 0.7828 MB / 0.5474 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.4996, allocations: 0.8458 MB / 0.5483 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.4998, allocations: 71.22 kB / 0.5483 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.4999, allocations: 27.42 kB / 0.5484 GB, free: 15.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4999, allocations: 0 / 0.5484 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Templates: time 0.01528/0.5152, allocations: 7.619 MB / 0.5558 GB, free: 7.801 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches