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.001115/0.001115, allocations: 121.7 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.001965/0.001965, allocations: 199.8 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4188, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.004081/0.423, allocations: 2.017 MB / 0.533 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.4247, allocations: 0.8358 MB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.4248, allocations: 2.906 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.4252, allocations: 65.19 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.4256, allocations: 119.7 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.4259, allocations: 67.64 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.4263, allocations: 314 kB / 0.5343 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.4264, allocations: 32.89 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.4267, allocations: 130.8 kB / 0.5345 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.427, allocations: 147.6 kB / 0.5346 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.427, allocations: 12.19 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.4273, allocations: 128.3 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.4274, allocations: 65.73 kB / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4276, allocations: 118.6 kB / 0.5349 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.428, allocations: 336.8 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4281, allocations: 0 / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4281, allocations: 0 / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.4281, allocations: 0.9688 kB / 0.5353 GB, free: 10.67 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.0009278/0.429, allocations: 0.5678 MB / 0.5358 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4291, allocations: 16.88 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/0.4292, allocations: 30.47 kB / 0.5359 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.4295, allocations: 244.1 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.4295, allocations: 22.97 kB / 0.5361 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.4296, allocations: 29.27 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.4303, allocations: 388.5 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4303, allocations: 0 / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.4304, allocations: 11.22 kB / 0.5365 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.4304, allocations: 24.8 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008113/0.4313, allocations: 420.1 kB / 0.537 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.4328, allocations: 0.8653 MB / 0.5378 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.4335, allocations: 273.5 kB / 0.5381 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.4337, allocations: 99.33 kB / 0.5382 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.4337, allocations: 7.031 kB / 0.5382 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4338, allocations: 35.72 kB / 0.5382 GB, free: 8.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4338, allocations: 0 / 0.5382 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.000789/0.4346, allocations: 336.6 kB / 0.5385 GB, free: 8.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.4346, allocations: 56.78 kB / 0.5386 GB, free: 8.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.435, allocations: 355.2 kB / 0.5389 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.435, allocations: 25.7 kB / 0.5389 GB, free: 8.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.4352, allocations: 159.4 kB / 0.5391 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.4352, allocations: 50.73 kB / 0.5391 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.4353, allocations: 53.94 kB / 0.5392 GB, free: 7.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4355, allocations: 339.2 kB / 0.5395 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.4358, allocations: 90.09 kB / 0.5396 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.4362, allocations: 144.3 kB / 0.5397 GB, free: 7.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.4367, allocations: 244.3 kB / 0.54 GB, free: 7.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4367, allocations: 0 / 0.54 GB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006877/0.4374, allocations: 305.5 kB / 0.5403 GB, free: 7.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4375, allocations: 9.844 kB / 0.5403 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4375, allocations: 5.062 kB / 0.5403 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.4375, allocations: 3.562 kB / 0.5403 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.4381, allocations: 108.9 kB / 0.5404 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.4409, allocations: 3.676 MB / 0.544 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.4412, allocations: 38.52 kB / 0.544 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.4412, allocations: 7.688 kB / 0.544 GB, free: 3.43 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.0003154/0.4415, allocations: 177.2 kB / 0.5442 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.4416, allocations: 32.47 kB / 0.5442 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4427, allocations: 322.2 kB / 0.5445 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.4427, allocations: 2.312 kB / 0.5445 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.4427, allocations: 3.984 kB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4427, allocations: 0.9375 kB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.4433, allocations: 301 kB / 0.5448 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4433, allocations: 4 kB / 0.5448 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.4439, allocations: 111.2 kB / 0.5449 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4439, allocations: 3.938 kB / 0.5449 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.4439, allocations: 12.19 kB / 0.5449 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.4465, allocations: 3.67 MB / 0.5485 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4465, allocations: 1.344 kB / 0.5485 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.4471, allocations: 345.2 kB / 0.5489 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4473, allocations: 103.5 kB / 0.549 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.4473, allocations: 5.281 kB / 0.549 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4475, allocations: 12.36 kB / 0.549 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.4475, allocations: 14.52 kB / 0.549 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.4476, allocations: 5.562 kB / 0.549 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.4479, allocations: 264.6 kB / 0.5492 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4479, allocations: 0 / 0.5492 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.4483, allocations: 75.97 kB / 0.5493 GB, free: 14.49 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.0002685/0.4486, allocations: 131.1 kB / 0.5494 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009016/0.4495, allocations: 303.9 kB / 0.5497 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4496, allocations: 7.938 kB / 0.5497 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.4501, allocations: 183.9 kB / 0.5499 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4506, allocations: 72.22 kB / 0.55 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.4516, allocations: 0.584 MB / 0.5506 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.4521, allocations: 0.7986 MB / 0.5513 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.4523, allocations: 70.2 kB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.4523, allocations: 23.44 kB / 0.5514 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4523, allocations: 0 / 0.5514 GB, free: 12.29 MB / 414.1 MB Notification: Performance of Templates: time 0.01087/0.4632, allocations: 5.486 MB / 0.5568 GB, free: 6.875 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