Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.00114/0.00114, 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.001257/0.001256, 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.297/1.297, 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.2088/0.2088, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 76.53 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.1, allocations: 62.45 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003713/0.1038, allocations: 2.161 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1067, allocations: 1.83 MB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.1069, allocations: 4 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.1072, allocations: 75.58 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.1076, allocations: 143.3 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.1086, allocations: 338.6 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1092, allocations: 477.7 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1093, allocations: 68.97 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.1096, allocations: 179.1 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.11, allocations: 238.8 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.11, allocations: 12 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008933/0.1109, allocations: 0.5577 MB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1111, allocations: 111.4 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1113, allocations: 194.6 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1125, allocations: 0.7398 MB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1125, allocations: 4 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1125, allocations: 0 / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.1125, allocations: 0 / 487.3 MB, free: 14.05 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.001321/0.1139, allocations: 0.7682 MB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1139, allocations: 12.03 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.114, allocations: 102.7 kB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.1141, allocations: 52.28 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.1145, allocations: 311.8 kB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.1146, allocations: 33 kB / 488.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.1146, allocations: 51.98 kB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.1156, allocations: 0.7031 MB / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1156, allocations: 0 / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.1157, allocations: 23.98 kB / 489.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.1158, allocations: 53.27 kB / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.1173, allocations: 0.7467 MB / 490.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.1192, allocations: 1.43 MB / 491.5 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.12, allocations: 460.4 kB / 492 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.1203, allocations: 157.2 kB / 492.1 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.1203, allocations: 12.2 kB / 492.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1204, allocations: 38.78 kB / 492.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.634e-06/0.1204, allocations: 4 kB / 492.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001089/0.1215, allocations: 0.5403 MB / 492.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1215, allocations: 59.39 kB / 492.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.1221, allocations: 0.5251 MB / 493.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1221, allocations: 29.7 kB / 493.3 MB, free: 7.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1223, allocations: 252 kB / 493.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.1223, allocations: 94.64 kB / 493.7 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.1225, allocations: 97.95 kB / 493.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1226, allocations: 358.8 kB / 494.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.1229, allocations: 164.6 kB / 494.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1233, allocations: 303.9 kB / 494.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.1241, allocations: 488.6 kB / 495.1 MB, free: 5.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1241, allocations: 8 kB / 495.1 MB, free: 5.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009192/0.125, allocations: 0.536 MB / 495.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.125, allocations: 11.94 kB / 495.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.125, allocations: 4 kB / 495.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1251, allocations: 8 kB / 495.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009296/0.126, allocations: 223.8 kB / 495.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.1295, allocations: 7.31 MB / 0.4914 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.1298, allocations: 67.2 kB / 0.4914 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.1299, allocations: 24 kB / 0.4914 GB, free: 13.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0002565/0.1302, allocations: 225.7 kB / 0.4917 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.1302, allocations: 47.44 kB / 0.4917 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.1313, allocations: 0.5447 MB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1313, allocations: 0 / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1313, allocations: 4 kB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1313, allocations: 0 / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1318, allocations: 425.2 kB / 0.4926 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1318, allocations: 4 kB / 0.4926 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.1327, allocations: 211.9 kB / 0.4929 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1327, allocations: 3.938 kB / 0.4929 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.1327, allocations: 19.94 kB / 0.4929 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/0.1361, allocations: 7.294 MB / 0.5 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1361, allocations: 4.062 kB / 0.5 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/0.1369, allocations: 0.5153 MB / 0.5005 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.137, allocations: 120.6 kB / 0.5006 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.1371, allocations: 4 kB / 0.5006 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1373, allocations: 15.98 kB / 0.5006 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.1374, allocations: 27.97 kB / 0.5007 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.1375, allocations: 15.98 kB / 0.5007 GB, free: 3.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.1379, allocations: 387 kB / 0.501 GB, free: 3.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 0.501 GB, free: 3.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.1385, allocations: 171.8 kB / 0.5012 GB, free: 3.039 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.001331/0.1398, allocations: 1.164 MB / 0.5023 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1414, allocations: 0.602 MB / 0.5029 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1414, allocations: 0 / 0.5029 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.1424, allocations: 348.5 kB / 0.5033 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.1429, allocations: 89.86 kB / 0.5034 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1707/0.3136, allocations: 5.447 MB / 0.5087 GB, free: 41.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3139, allocations: 0.8947 MB / 0.5095 GB, free: 40.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003628/0.3143, allocations: 142.1 kB / 0.5097 GB, free: 40.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.3145, allocations: 143.6 kB / 0.5098 GB, free: 40.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3145, allocations: 0 / 0.5098 GB, free: 40.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.35, allocations: 14.64 MB / 0.5241 GB, free: 35.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.76, allocations: 17.8 kB / 0.5241 GB, free: 35.9 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC/kc_evenGapOverall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches