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.0008068/0.0008068, allocations: 93.3 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 199.7 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002655, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002711/0.1109, allocations: 1.872 MB / 485.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.114, allocations: 1.815 MB / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1142, allocations: 4 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.1146, allocations: 67.64 kB / 487 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005608/0.1152, allocations: 131.4 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1162, allocations: 306.5 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000696/0.117, allocations: 0.6265 MB / 488 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1171, allocations: 65.03 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.1174, allocations: 171 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.1178, allocations: 234.8 kB / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.1179, allocations: 12 kB / 488.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008586/0.1187, allocations: 0.5615 MB / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.1189, allocations: 107.5 kB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1191, allocations: 220.4 kB / 489.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000949/0.1201, allocations: 0.7242 MB / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1201, allocations: 0 / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1201, allocations: 0 / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.1201, allocations: 0 / 490.1 MB, free: 13.13 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.001134/0.1212, allocations: 0.6863 MB / 490.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1213, allocations: 12.03 kB / 490.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.1214, allocations: 106.7 kB / 490.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.1215, allocations: 52.28 kB / 490.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1219, allocations: 311.8 kB / 491.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.1219, allocations: 36.98 kB / 491.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.122, allocations: 44 kB / 491.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/0.123, allocations: 0.7148 MB / 492 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.123, allocations: 0 / 492 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.1231, allocations: 20 kB / 492.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-05/0.1232, allocations: 57.2 kB / 492.1 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1243, allocations: 0.7584 MB / 492.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.1263, allocations: 1.426 MB / 494.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.127, allocations: 458.2 kB / 494.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1273, allocations: 173.1 kB / 494.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.1274, allocations: 8.219 kB / 494.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1274, allocations: 34.8 kB / 495 MB, free: 8.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.1274, allocations: 4 kB / 495 MB, free: 8.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001053/0.1285, allocations: 0.5508 MB / 495.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1285, allocations: 55.41 kB / 495.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.129, allocations: 0.5366 MB / 496.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1291, allocations: 33.7 kB / 496.1 MB, free: 6.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1292, allocations: 236.2 kB / 496.4 MB, free: 6.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.1293, allocations: 98.64 kB / 496.5 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.1294, allocations: 41.7 kB / 496.5 MB, free: 6.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1295, allocations: 362.8 kB / 496.9 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1298, allocations: 168.5 kB / 497 MB, free: 5.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.1302, allocations: 301.6 kB / 497.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.131, allocations: 0.5006 MB / 497.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.131, allocations: 0 / 497.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009015/0.1319, allocations: 0.5477 MB / 498.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1319, allocations: 8.031 kB / 498.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1319, allocations: 7.984 kB / 498.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1319, allocations: 8 kB / 498.4 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.1329, allocations: 219.8 kB / 498.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.1361, allocations: 7.317 MB / 0.4941 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1365, allocations: 71.3 kB / 0.4941 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1365, allocations: 20 kB / 0.4942 GB, free: 12.57 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.0002689/0.1368, allocations: 233.8 kB / 0.4944 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.1369, allocations: 51.44 kB / 0.4944 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1379, allocations: 0.5602 MB / 0.495 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1379, allocations: 0 / 0.495 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.138, allocations: 4 kB / 0.495 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.138, allocations: 0 / 0.495 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1385, allocations: 429.1 kB / 0.4954 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1385, allocations: 0 / 0.4954 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.1393, allocations: 207.8 kB / 0.4956 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.1393, allocations: 4.109 kB / 0.4956 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.1393, allocations: 15.88 kB / 0.4956 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.1425, allocations: 7.306 MB / 0.5027 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1426, allocations: 288 / 0.5027 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.1433, allocations: 0.5232 MB / 0.5032 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1434, allocations: 124.5 kB / 0.5034 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.1435, allocations: 11.98 kB / 0.5034 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.1438, allocations: 20 kB / 0.5034 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.1439, allocations: 23.97 kB / 0.5034 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.1439, allocations: 11.98 kB / 0.5034 GB, free: 2.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003949/0.1443, allocations: 395 kB / 0.5038 GB, free: 2.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1443, allocations: 0 / 0.5038 GB, free: 2.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005835/0.1449, allocations: 171.8 kB / 0.504 GB, free: 2.129 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.001487/0.1464, allocations: 1.164 MB / 0.5051 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.148, allocations: 0.5634 MB / 0.5057 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.148, allocations: 3.938 kB / 0.5057 GB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.149, allocations: 364 kB / 0.506 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.197/0.346, allocations: 71.91 kB / 0.5061 GB, free: 41.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/0.3534, allocations: 5.616 MB / 0.5116 GB, free: 39.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.3538, allocations: 0.8962 MB / 0.5124 GB, free: 38.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004229/0.3542, allocations: 144.5 kB / 0.5126 GB, free: 38.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3545, allocations: 141.5 kB / 0.5127 GB, free: 38.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3545, allocations: 0 / 0.5127 GB, free: 38.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.3945, allocations: 13.91 MB / 0.5263 GB, free: 34.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.3946, allocations: 285.9 kB / 0.5266 GB, free: 34.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.498, allocations: 2.188 kB / 0.5266 GB, free: 34.12 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