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.001686/0.001686, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002293, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.644/1.644, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 79.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.36, allocations: 62.43 MB / 0.5317 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003232/0.3633, allocations: 2.082 MB / 0.5337 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.3653, allocations: 1.326 MB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.3654, allocations: 2.75 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3657, allocations: 69.47 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3659, allocations: 97.25 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.3665, allocations: 198.4 kB / 0.5354 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.367, allocations: 432.2 kB / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.3671, allocations: 51.14 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.3673, allocations: 156.2 kB / 0.536 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3676, allocations: 167.3 kB / 0.5361 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.3676, allocations: 15.34 kB / 0.5361 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.3681, allocations: 276.4 kB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3682, allocations: 85.23 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3684, allocations: 161.5 kB / 0.5366 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.369, allocations: 0.5305 MB / 0.5372 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.369, allocations: 0 / 0.5372 GB, free: 9.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.369, allocations: 1 kB / 0.5372 GB, free: 9.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.369, allocations: 0 / 0.5372 GB, free: 9.773 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.001126/0.3702, allocations: 0.7077 MB / 0.5379 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3702, allocations: 9.031 kB / 0.5379 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.3706, allocations: 81.64 kB / 0.5379 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.371, allocations: 293.7 kB / 0.5382 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.371, allocations: 27.84 kB / 0.5382 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.3711, allocations: 39.75 kB / 0.5383 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.372, allocations: 0.5503 MB / 0.5388 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.372, allocations: 5.438 kB / 0.5388 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.372, allocations: 14.81 kB / 0.5388 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.372, allocations: 16.53 kB / 0.5389 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.3728, allocations: 418.7 kB / 0.5393 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3746, allocations: 1.277 MB / 0.5405 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.3751, allocations: 277.3 kB / 0.5408 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.3754, allocations: 140.9 kB / 0.5409 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.3755, allocations: 4.781 kB / 0.5409 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3755, allocations: 40.72 kB / 0.5409 GB, free: 7.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.3755, allocations: 0 / 0.5409 GB, free: 7.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001155/0.3767, allocations: 474.6 kB / 0.5414 GB, free: 6.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.3767, allocations: 105 kB / 0.5415 GB, free: 6.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.3773, allocations: 499.2 kB / 0.542 GB, free: 6.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3773, allocations: 30.89 kB / 0.542 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.3775, allocations: 209.8 kB / 0.5422 GB, free: 6.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.3775, allocations: 63.3 kB / 0.5423 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3776, allocations: 64.02 kB / 0.5423 GB, free: 6.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3778, allocations: 358.6 kB / 0.5427 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.3781, allocations: 127 kB / 0.5428 GB, free: 5.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3785, allocations: 218.7 kB / 0.543 GB, free: 5.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.3792, allocations: 373.3 kB / 0.5434 GB, free: 5.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3792, allocations: 0 / 0.5434 GB, free: 5.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008494/0.38, allocations: 418.8 kB / 0.5438 GB, free: 5.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3801, allocations: 11.94 kB / 0.5438 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.389e-05/0.3801, allocations: 31.98 kB / 0.5438 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.3802, allocations: 4 kB / 0.5438 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3804, allocations: 35.91 kB / 0.5438 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3804, allocations: 7.984 kB / 0.5438 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.3806, allocations: 59.67 kB / 0.5439 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.3807, allocations: 20 kB / 0.5439 GB, free: 4.961 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.0001953/0.3809, allocations: 201.6 kB / 0.5441 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.381, allocations: 43.47 kB / 0.5441 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/0.3818, allocations: 400.8 kB / 0.5445 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.3818, allocations: 7.938 kB / 0.5445 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3818, allocations: 0 / 0.5445 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3818, allocations: 0 / 0.5445 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.3823, allocations: 365.3 kB / 0.5449 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/0.3824, allocations: 35.98 kB / 0.5449 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.3825, allocations: 23.97 kB / 0.5449 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3826, allocations: 3.938 kB / 0.5449 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.3826, allocations: 23.92 kB / 0.545 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3826, allocations: 0 / 0.545 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3826, allocations: 4 kB / 0.545 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.3834, allocations: 0.5816 MB / 0.5455 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.3835, allocations: 124.5 kB / 0.5457 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.3836, allocations: 4 kB / 0.5457 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.3838, allocations: 15.98 kB / 0.5457 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.3839, allocations: 23.97 kB / 0.5457 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3839, allocations: 8 kB / 0.5457 GB, free: 3.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003643/0.3843, allocations: 371 kB / 0.5461 GB, free: 2.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3843, allocations: 4 kB / 0.5461 GB, free: 2.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005657/0.3849, allocations: 111.9 kB / 0.5462 GB, free: 2.543 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.0003187/0.3852, allocations: 167.1 kB / 0.5463 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008466/0.3861, allocations: 0.5424 MB / 0.5469 GB, free: 1.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3861, allocations: 4.062 kB / 0.5469 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.3865, allocations: 387.1 kB / 0.5472 GB, free: 1.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.3872, allocations: 101 kB / 0.5473 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3885, allocations: 0.8001 MB / 0.5481 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3889, allocations: 0.8457 MB / 0.5489 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.3889, allocations: 27.42 kB / 0.549 GB, free: 15.51 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3889, allocations: 3.938 kB / 0.549 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Templates: time 0.01006/0.399, allocations: 7.442 MB / 0.5562 GB, free: 8.109 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/jenkins1/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/jenkins1/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