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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 245.4 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007965/0.0007965, allocations: 100.1 kB / 297.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3059/0.3059, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002374, allocations: 12 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2823, allocations: 62.97 MB / 0.5184 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3846, allocations: 93.72 MB / 0.61 GB, free: 11.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3848, allocations: 95.92 kB / 0.6101 GB, free: 11.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02713/0.412, allocations: 10.34 MB / 0.6201 GB, free: 1.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.412, allocations: 7.938 kB / 0.6202 GB, free: 1.035 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.412, allocations: 4 kB / 0.6202 GB, free: 1.031 MB / 426.7 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.0007128/0.4127, allocations: 0.5069 MB / 0.6207 GB, free: 484 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4128, allocations: 8.031 kB / 0.6207 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.4129, allocations: 32.56 kB / 0.6207 GB, free: 444 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4131, allocations: 246.5 kB / 0.6209 GB, free: 160 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4132, allocations: 24.88 kB / 0.621 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.4132, allocations: 28.38 kB / 0.621 GB, free: 108 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.4139, allocations: 393.4 kB / 0.6214 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4139, allocations: 0 / 0.6214 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.414, allocations: 12 kB / 0.6214 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.414, allocations: 20.64 kB / 0.6214 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.4146, allocations: 426.2 kB / 0.6218 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.4159, allocations: 0.8773 MB / 0.6227 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.4165, allocations: 301.5 kB / 0.6229 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.4167, allocations: 112.7 kB / 0.623 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4168, allocations: 7.984 kB / 0.6231 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.4168, allocations: 34.56 kB / 0.6231 GB, free: 13.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.4168, allocations: 0 / 0.6231 GB, free: 13.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007424/0.4175, allocations: 371.5 kB / 0.6234 GB, free: 13.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.4176, allocations: 51.41 kB / 0.6235 GB, free: 13.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.4179, allocations: 355.1 kB / 0.6238 GB, free: 13.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.418, allocations: 29.7 kB / 0.6239 GB, free: 13.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.4181, allocations: 156.2 kB / 0.624 GB, free: 12.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.4181, allocations: 59.34 kB / 0.6241 GB, free: 12.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4181, allocations: 4 kB / 0.6241 GB, free: 12.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4183, allocations: 338.8 kB / 0.6244 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.4185, allocations: 103.9 kB / 0.6245 GB, free: 12.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4187, allocations: 153.8 kB / 0.6246 GB, free: 12.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.4192, allocations: 273.7 kB / 0.6249 GB, free: 11.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4192, allocations: 0 / 0.6249 GB, free: 11.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005515/0.4197, allocations: 326.9 kB / 0.6252 GB, free: 11.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4198, allocations: 8 kB / 0.6252 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4198, allocations: 0 / 0.6252 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4198, allocations: 4 kB / 0.6252 GB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.4203, allocations: 119.9 kB / 0.6253 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.4223, allocations: 3.7 MB / 0.6289 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.4225, allocations: 47.89 kB / 0.629 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4225, allocations: 11.94 kB / 0.629 GB, free: 7.574 MB / 442.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.4227, allocations: 173.6 kB / 0.6292 GB, free: 7.398 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.4227, allocations: 23.72 kB / 0.6292 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006447/0.4234, allocations: 363 kB / 0.6295 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4234, allocations: 11.88 kB / 0.6295 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4234, allocations: 0 / 0.6295 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4234, allocations: 0 / 0.6295 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.4238, allocations: 309.3 kB / 0.6298 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4238, allocations: 0 / 0.6298 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.4242, allocations: 107.9 kB / 0.6299 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4242, allocations: 0 / 0.6299 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4243, allocations: 16 kB / 0.63 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.4261, allocations: 3.707 MB / 0.6336 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4261, allocations: 0 / 0.6336 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4267, allocations: 372.7 kB / 0.6339 GB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.4268, allocations: 116.8 kB / 0.634 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.4268, allocations: 7.938 kB / 0.6341 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.427, allocations: 11.98 kB / 0.6341 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.427, allocations: 15.98 kB / 0.6341 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4271, allocations: 4 kB / 0.6341 GB, free: 2.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002454/0.4273, allocations: 253.9 kB / 0.6343 GB, free: 1.879 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4273, allocations: 0 / 0.6343 GB, free: 1.879 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.4277, allocations: 80.05 kB / 0.6344 GB, free: 1.801 MB / 442.7 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002562/0.4279, allocations: 159.7 kB / 0.6346 GB, free: 1.637 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008297/0.4288, allocations: 328 kB / 0.6349 GB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4288, allocations: 0 / 0.6349 GB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.4294, allocations: 209.4 kB / 0.6351 GB, free: 1.113 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.4298, allocations: 60.5 kB / 0.6351 GB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009852/0.4308, allocations: 0.6701 MB / 0.6358 GB, free: 364 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.4312, allocations: 0.7986 MB / 0.6366 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.4314, allocations: 62.23 kB / 0.6366 GB, free: 15.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.4315, allocations: 27.42 kB / 0.6366 GB, free: 15.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4315, allocations: 0 / 0.6366 GB, free: 15.45 MB / 458.7 MB Notification: Performance of Templates: time 0.009378/0.4409, allocations: 5.528 MB / 0.642 GB, free: 9.996 MB / 458.7 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/jenkins1/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","../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