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.001105/0.001108, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2823/0.2823, allocations: 46.11 MB / 343.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 78.03 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 62.44 MB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003787/0.1267, allocations: 2.214 MB / 481.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.1297, allocations: 1.861 MB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1299, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1303, allocations: 67.66 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.1308, allocations: 131.4 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.1317, allocations: 299 kB / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006412/0.1323, allocations: 0.6381 MB / 484.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.1324, allocations: 61.05 kB / 484.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.1328, allocations: 171.1 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.1332, allocations: 230.9 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.1332, allocations: 12 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008819/0.1341, allocations: 0.5654 MB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1343, allocations: 111.5 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.1345, allocations: 186.7 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.1355, allocations: 0.7242 MB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1355, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1355, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1355, allocations: 0 / 486.7 MB, free: 14.29 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.001278/0.1368, allocations: 0.78 MB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1368, allocations: 8.031 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.137, allocations: 106.7 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1371, allocations: 48.28 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1374, allocations: 307.8 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1375, allocations: 44.91 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.1375, allocations: 48 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1386, allocations: 0.7069 MB / 488.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1387, allocations: 4 kB / 488.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.1387, allocations: 16 kB / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.1388, allocations: 57.28 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.14, allocations: 0.7428 MB / 489.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.1422, allocations: 1.43 MB / 490.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.143, allocations: 450.4 kB / 491.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.1433, allocations: 161.2 kB / 491.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.1434, allocations: 12.22 kB / 491.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1434, allocations: 38.73 kB / 491.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.1434, allocations: 0 / 491.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001153/0.1446, allocations: 0.5429 MB / 492.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1446, allocations: 55.41 kB / 492.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.1453, allocations: 0.5329 MB / 492.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1453, allocations: 29.7 kB / 492.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1455, allocations: 252 kB / 493 MB, free: 7.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.1456, allocations: 90.66 kB / 493.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.1457, allocations: 97.95 kB / 493.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1459, allocations: 362.8 kB / 493.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.1462, allocations: 160.6 kB / 493.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.1466, allocations: 297.5 kB / 494 MB, free: 6.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.1473, allocations: 0.4928 MB / 494.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1474, allocations: 0 / 494.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009492/0.1483, allocations: 0.5316 MB / 495 MB, free: 5.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1483, allocations: 8 kB / 495 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.1484, allocations: 4 kB / 495 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1484, allocations: 8.562 kB / 495 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/0.1494, allocations: 227.8 kB / 495.2 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.1529, allocations: 7.306 MB / 0.4908 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.1533, allocations: 67.22 kB / 0.4908 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.1534, allocations: 24.27 kB / 0.4909 GB, free: 13.67 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.0002859/0.1537, allocations: 233.7 kB / 0.4911 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.1537, allocations: 47.38 kB / 0.4911 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.1548, allocations: 0.5524 MB / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1548, allocations: 4 kB / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1548, allocations: 4 kB / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1548, allocations: 0 / 0.4917 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.1554, allocations: 429.2 kB / 0.4921 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1554, allocations: 0 / 0.4921 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.1563, allocations: 199.8 kB / 0.4923 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1563, allocations: 0 / 0.4923 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.1563, allocations: 19.92 kB / 0.4923 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003469/0.1598, allocations: 7.306 MB / 0.4994 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1598, allocations: 0 / 0.4994 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.1606, allocations: 0.5116 MB / 0.4999 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1608, allocations: 120.6 kB / 0.5 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.1609, allocations: 4 kB / 0.5 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1611, allocations: 11.98 kB / 0.5001 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.1612, allocations: 23.97 kB / 0.5001 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.1612, allocations: 15.98 kB / 0.5001 GB, free: 3.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004004/0.1616, allocations: 391 kB / 0.5005 GB, free: 3.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1617, allocations: 0 / 0.5005 GB, free: 3.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005981/0.1623, allocations: 179.8 kB / 0.5006 GB, free: 3.27 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.001399/0.1637, allocations: 1.153 MB / 0.5018 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.1652, allocations: 0.5466 MB / 0.5023 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1652, allocations: 1.125 kB / 0.5023 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.1662, allocations: 352.1 kB / 0.5026 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.1668, allocations: 77.92 kB / 0.5027 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1854/0.3521, allocations: 5.574 MB / 0.5082 GB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3525, allocations: 0.8906 MB / 0.509 GB, free: 40.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.3529, allocations: 142.1 kB / 0.5092 GB, free: 40.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.353, allocations: 144.5 kB / 0.5093 GB, free: 40.54 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.353, allocations: 0 / 0.5093 GB, free: 40.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.603/0.9561, allocations: 14.1 MB / 0.5231 GB, free: 36.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.9563, allocations: 283.7 kB / 0.5233 GB, free: 35.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.943, allocations: 0 / 0.5233 GB, free: 35.97 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