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.0009611/0.0009611, allocations: 95.55 kB / 18.01 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 207.4 kB / 18.94 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.7 MB / 247.5 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1896/0.1896, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 8.375 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09834, allocations: 63.56 MB / 483.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002289/0.1007, allocations: 1.786 MB / 485.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1027, allocations: 1.324 MB / 486.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1028, allocations: 4 kB / 486.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1031, allocations: 55.72 kB / 486.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1033, allocations: 79.52 kB / 487 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.1039, allocations: 179.5 kB / 487.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.1044, allocations: 0.5018 MB / 487.7 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.1045, allocations: 48.72 kB / 487.7 MB, free: 148 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1048, allocations: 143.2 kB / 487.9 MB, free: 4 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.1051, allocations: 183 kB / 488.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.1051, allocations: 8 kB / 488.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.1056, allocations: 271.6 kB / 488.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1058, allocations: 83.55 kB / 488.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1059, allocations: 188.6 kB / 488.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.1064, allocations: 391.2 kB / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1064, allocations: 0 / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1064, allocations: 0 / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1065, allocations: 0 / 489 MB, free: 14.89 MB / 366.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.00103/0.1075, allocations: 0.6667 MB / 489.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1075, allocations: 12.03 kB / 489.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.1079, allocations: 84.42 kB / 489.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.1083, allocations: 280.6 kB / 490 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.1083, allocations: 28.94 kB / 490 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.1084, allocations: 36 kB / 490.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.1093, allocations: 0.573 MB / 490.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1093, allocations: 0 / 490.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.1093, allocations: 16 kB / 490.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.1094, allocations: 20.98 kB / 490.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.1102, allocations: 439.6 kB / 491.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1119, allocations: 1.285 MB / 492.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.1125, allocations: 311.5 kB / 492.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.1129, allocations: 162.5 kB / 492.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.1129, allocations: 19.95 kB / 492.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1129, allocations: 46.55 kB / 492.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.113, allocations: 3.938 kB / 492.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001265/0.1142, allocations: 0.5244 MB / 493.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1143, allocations: 106.8 kB / 493.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.1148, allocations: 0.4977 MB / 494.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1148, allocations: 25.7 kB / 494.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.115, allocations: 212.2 kB / 494.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.1151, allocations: 55.23 kB / 494.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.1151, allocations: 29.7 kB / 494.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1153, allocations: 350.8 kB / 494.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.1156, allocations: 160.1 kB / 494.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.1161, allocations: 236.5 kB / 495.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.1168, allocations: 409.9 kB / 495.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1168, allocations: 0 / 495.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009354/0.1178, allocations: 475.4 kB / 496 MB, free: 7.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1178, allocations: 8 kB / 496 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.156e-05/0.1179, allocations: 35.92 kB / 496 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1179, allocations: 4 kB / 496 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1181, allocations: 47.84 kB / 496.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.1181, allocations: 8.031 kB / 496.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.1184, allocations: 55.5 kB / 496.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.1185, allocations: 16 kB / 496.1 MB, free: 7.379 MB / 366.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.0002108/0.1187, allocations: 197.7 kB / 496.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1188, allocations: 43.44 kB / 496.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008568/0.1196, allocations: 444.6 kB / 496.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1197, allocations: 0 / 496.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1197, allocations: 4 kB / 496.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1197, allocations: 0 / 496.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.1203, allocations: 381.2 kB / 497.2 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/0.1203, allocations: 31.98 kB / 497.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1205, allocations: 31.97 kB / 497.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1205, allocations: 3.938 kB / 497.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.1205, allocations: 12 kB / 497.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1205, allocations: 0 / 497.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1205, allocations: 0 / 497.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.1214, allocations: 0.6361 MB / 497.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1216, allocations: 120.6 kB / 498 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.1216, allocations: 0 / 498 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.1219, allocations: 31.97 kB / 498 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.122, allocations: 23.92 kB / 498.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.122, allocations: 8 kB / 498.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.1224, allocations: 367 kB / 498.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1224, allocations: 0 / 498.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005634/0.123, allocations: 119.9 kB / 498.5 MB, free: 4.855 MB / 366.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.0003658/0.1234, allocations: 183 kB / 498.7 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009417/0.1243, allocations: 0.5816 MB / 499.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1243, allocations: 4 kB / 499.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.1248, allocations: 415.2 kB / 499.7 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.1255, allocations: 88.94 kB / 499.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1269, allocations: 0.938 MB / 0.489 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1273, allocations: 0.8461 MB / 0.4898 GB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.1274, allocations: 23.44 kB / 0.4899 GB, free: 1.609 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1274, allocations: 0 / 0.4899 GB, free: 1.609 MB / 366.1 MB Notification: Performance of Templates: time 0.0106/0.138, allocations: 7.454 MB / 0.4971 GB, free: 10.2 MB / 382.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