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.001087/0.001087, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 79.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3179, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00317/0.3211, allocations: 2.085 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3231, allocations: 1.325 MB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3232, allocations: 2.562 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.3235, allocations: 72.94 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.3237, allocations: 74.42 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.3243, allocations: 217.8 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.3248, allocations: 428.1 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.3249, allocations: 47.84 kB / 0.5358 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.3251, allocations: 160.3 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3254, allocations: 174.4 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.3254, allocations: 12.62 kB / 0.5361 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.3259, allocations: 267.9 kB / 0.5364 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.326, allocations: 84.38 kB / 0.5365 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3262, allocations: 165.4 kB / 0.5366 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.3269, allocations: 0.5195 MB / 0.5371 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3269, allocations: 3.984 kB / 0.5371 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3269, allocations: 0 / 0.5371 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3269, allocations: 1.094 kB / 0.5371 GB, free: 9.566 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.001196/0.3281, allocations: 0.7135 MB / 0.5378 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3281, allocations: 9.219 kB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004193/0.3286, allocations: 81.05 kB / 0.5379 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.3289, allocations: 289.2 kB / 0.5382 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.329, allocations: 28.75 kB / 0.5382 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-05/0.329, allocations: 36.03 kB / 0.5383 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.3299, allocations: 0.5576 MB / 0.5388 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.33, allocations: 0.7812 kB / 0.5388 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.33, allocations: 15.22 kB / 0.5388 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3301, allocations: 20.56 kB / 0.5388 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/0.3309, allocations: 418.7 kB / 0.5392 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3326, allocations: 1.27 MB / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.3332, allocations: 280 kB / 0.5408 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3335, allocations: 137.5 kB / 0.5409 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.3336, allocations: 12.89 kB / 0.5409 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3336, allocations: 35.91 kB / 0.5409 GB, free: 6.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.3336, allocations: 1.594 kB / 0.5409 GB, free: 6.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001209/0.3348, allocations: 475.8 kB / 0.5414 GB, free: 6.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3349, allocations: 109.1 kB / 0.5415 GB, free: 6.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.3355, allocations: 499.4 kB / 0.542 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3355, allocations: 30.89 kB / 0.542 GB, free: 6.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3357, allocations: 214 kB / 0.5422 GB, free: 6.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.3357, allocations: 58.86 kB / 0.5423 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3359, allocations: 67.03 kB / 0.5423 GB, free: 5.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.336, allocations: 359.3 kB / 0.5427 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3364, allocations: 130.7 kB / 0.5428 GB, free: 5.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.3367, allocations: 222.3 kB / 0.543 GB, free: 5.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.3375, allocations: 373.7 kB / 0.5434 GB, free: 5.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3375, allocations: 1.469 kB / 0.5434 GB, free: 5.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009221/0.3384, allocations: 413.3 kB / 0.5438 GB, free: 4.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3385, allocations: 10.47 kB / 0.5438 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-05/0.3385, allocations: 32.23 kB / 0.5438 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3386, allocations: 4.406 kB / 0.5438 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3388, allocations: 32.75 kB / 0.5438 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3388, allocations: 10.22 kB / 0.5438 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.3391, allocations: 63.66 kB / 0.5439 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.3391, allocations: 12 kB / 0.5439 GB, free: 4.824 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.0002332/0.3394, allocations: 201.6 kB / 0.5441 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3395, allocations: 39.47 kB / 0.5441 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007992/0.3403, allocations: 396.9 kB / 0.5445 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3403, allocations: 3.984 kB / 0.5445 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3403, allocations: 4 kB / 0.5445 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3403, allocations: 0 / 0.5445 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.3409, allocations: 369.3 kB / 0.5449 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/0.341, allocations: 27.98 kB / 0.5449 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.3411, allocations: 31.84 kB / 0.5449 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.3411, allocations: 7.938 kB / 0.5449 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3412, allocations: 8 kB / 0.545 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3412, allocations: 8 kB / 0.545 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3412, allocations: 0 / 0.545 GB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.342, allocations: 0.5794 MB / 0.5455 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.3421, allocations: 124.5 kB / 0.5456 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.3422, allocations: 0 / 0.5456 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.3425, allocations: 23.97 kB / 0.5457 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.3426, allocations: 23.92 kB / 0.5457 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.3426, allocations: 15.98 kB / 0.5457 GB, free: 2.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.343, allocations: 359.1 kB / 0.546 GB, free: 2.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.343, allocations: 0 / 0.546 GB, free: 2.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005726/0.3436, allocations: 123.9 kB / 0.5462 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.0003418/0.3439, allocations: 175.2 kB / 0.5463 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000871/0.3448, allocations: 0.5308 MB / 0.5469 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3448, allocations: 0 / 0.5469 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.3453, allocations: 395.2 kB / 0.5472 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.0006582/0.346, allocations: 105.4 kB / 0.5473 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3473, allocations: 0.7924 MB / 0.5481 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3477, allocations: 0.8457 MB / 0.5489 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.3478, allocations: 31.38 kB / 0.549 GB, free: 15.38 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3478, allocations: 0 / 0.549 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Templates: time 0.01007/0.3579, allocations: 7.443 MB / 0.5562 GB, free: 7.977 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