Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.09 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 79.66 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 62.45 MB / 480.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003361/0.1065, allocations: 2.171 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1081, allocations: 0.9307 MB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1082, allocations: 3.938 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1085, allocations: 71.58 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.1089, allocations: 147.2 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1092, allocations: 87.7 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.1097, allocations: 485.7 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.1098, allocations: 65.03 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1101, allocations: 198.9 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.1104, allocations: 218.9 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.1104, allocations: 12 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.1108, allocations: 191.7 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1109, allocations: 111.5 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1111, allocations: 190.6 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.1116, allocations: 0.5294 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1117, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1117, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1117, allocations: 0 / 485.5 MB, free: 15.79 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00115/0.1128, allocations: 0.7604 MB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1129, allocations: 8.031 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.113, allocations: 98.7 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.789e-05/0.1131, allocations: 52.28 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1134, allocations: 315.2 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.1135, allocations: 33 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.1135, allocations: 47.98 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.1145, allocations: 0.7148 MB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1145, allocations: 0 / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.1146, allocations: 19.98 kB / 487.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.1146, allocations: 53.28 kB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.1158, allocations: 0.7389 MB / 488.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1178, allocations: 1.445 MB / 489.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.1186, allocations: 452.4 kB / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.1189, allocations: 165.2 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.1189, allocations: 8.328 kB / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1189, allocations: 46.73 kB / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.119, allocations: 0 / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001083/0.12, allocations: 0.5365 MB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1201, allocations: 59.41 kB / 491.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.1207, allocations: 0.5329 MB / 491.6 MB, free: 9.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1207, allocations: 29.7 kB / 491.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1209, allocations: 224.5 kB / 491.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.121, allocations: 102.5 kB / 491.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1211, allocations: 78.02 kB / 492 MB, free: 9.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1212, allocations: 366.7 kB / 492.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.1215, allocations: 160.5 kB / 492.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1219, allocations: 240.3 kB / 492.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.1226, allocations: 439.5 kB / 493.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1226, allocations: 0 / 493.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008483/0.1235, allocations: 0.4927 MB / 493.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1235, allocations: 8 kB / 493.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1235, allocations: 4 kB / 493.7 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1235, allocations: 4 kB / 493.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.1244, allocations: 211.8 kB / 493.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.1281, allocations: 7.318 MB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.1284, allocations: 55.36 kB / 0.4895 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.1285, allocations: 20 kB / 0.4895 GB, free: 15.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.1287, allocations: 242.4 kB / 0.4898 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.1288, allocations: 43.44 kB / 0.4898 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.1299, allocations: 0.5447 MB / 0.4904 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1299, allocations: 0 / 0.4904 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1299, allocations: 7.938 kB / 0.4904 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1299, allocations: 3.984 kB / 0.4904 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.1304, allocations: 433.1 kB / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1305, allocations: 0 / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.1313, allocations: 203.8 kB / 0.491 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1313, allocations: 0 / 0.491 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1313, allocations: 19.92 kB / 0.491 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.1351, allocations: 7.306 MB / 0.4981 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1351, allocations: 0 / 0.4981 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.1359, allocations: 0.5114 MB / 0.4986 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.136, allocations: 128.4 kB / 0.4987 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.1361, allocations: 8 kB / 0.4988 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1363, allocations: 16.08 kB / 0.4988 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.1364, allocations: 23.97 kB / 0.4988 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.1365, allocations: 15.98 kB / 0.4988 GB, free: 5.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004099/0.1369, allocations: 387 kB / 0.4992 GB, free: 5.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1369, allocations: 0 / 0.4992 GB, free: 5.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.1373, allocations: 135.8 kB / 0.4993 GB, free: 5.051 MB / 382.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.1385, allocations: 1.086 MB / 0.5004 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.14, allocations: 0.5814 MB / 0.5009 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.14, allocations: 0 / 0.5009 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.141, allocations: 349.3 kB / 0.5013 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.1415, allocations: 97.78 kB / 0.5014 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1691/0.3106, allocations: 5.39 MB / 0.5066 GB, free: 41.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.311, allocations: 0.8958 MB / 0.5075 GB, free: 40.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.3114, allocations: 130.1 kB / 0.5076 GB, free: 40.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.3115, allocations: 143.1 kB / 0.5078 GB, free: 40.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3116, allocations: 0 / 0.5078 GB, free: 40.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/0.3727, allocations: 13.27 MB / 0.5207 GB, free: 37.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 8.562 kB / 0.5207 GB, free: 37.36 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches