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.0009676/0.0009676, allocations: 91.2 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.000239, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002422/0.1144, allocations: 1.887 MB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1159, allocations: 0.9231 MB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.1159, allocations: 4 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1162, allocations: 59.72 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.1166, allocations: 139.3 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1168, allocations: 79.73 kB / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.1174, allocations: 0.6303 MB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.1174, allocations: 61.05 kB / 487 MB, free: 252 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.1177, allocations: 175 kB / 487.1 MB, free: 76 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.118, allocations: 234.9 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.118, allocations: 12 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1183, allocations: 187.7 kB / 487.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1184, allocations: 111.5 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1186, allocations: 220.4 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.1192, allocations: 0.5176 MB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1192, allocations: 3.984 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1192, allocations: 0 / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1192, allocations: 0 / 488.4 MB, free: 14.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.001019/0.1202, allocations: 0.6629 MB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1203, allocations: 12.03 kB / 489.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.1204, allocations: 98.69 kB / 489.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.1205, allocations: 56.28 kB / 489.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1209, allocations: 307.8 kB / 489.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1209, allocations: 40.98 kB / 489.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.121, allocations: 40 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.122, allocations: 0.7226 MB / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.122, allocations: 0 / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.1221, allocations: 20 kB / 490.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.039e-05/0.1222, allocations: 53.28 kB / 490.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1233, allocations: 0.7506 MB / 491.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1252, allocations: 1.438 MB / 492.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.126, allocations: 466.3 kB / 493.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.1263, allocations: 161.2 kB / 493.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.1263, allocations: 16.2 kB / 493.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1264, allocations: 30.8 kB / 493.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.1264, allocations: 4 kB / 493.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001103/0.1275, allocations: 0.5586 MB / 493.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1275, allocations: 59.28 kB / 493.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.1281, allocations: 0.529 MB / 494.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1281, allocations: 29.7 kB / 494.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1283, allocations: 236.4 kB / 494.7 MB, free: 8.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.1284, allocations: 98.53 kB / 494.8 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.1285, allocations: 41.7 kB / 494.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1286, allocations: 362.8 kB / 495.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.1289, allocations: 160.5 kB / 495.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.1293, allocations: 248.3 kB / 495.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.13, allocations: 455.5 kB / 496 MB, free: 6.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.13, allocations: 0 / 496 MB, free: 6.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008356/0.1308, allocations: 0.5005 MB / 496.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1309, allocations: 4 kB / 496.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1309, allocations: 4.375 kB / 496.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1309, allocations: 8 kB / 496.5 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.1318, allocations: 215.8 kB / 496.7 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.1355, allocations: 7.314 MB / 0.4922 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.1358, allocations: 67.2 kB / 0.4923 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.1358, allocations: 23.98 kB / 0.4923 GB, free: 14.47 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.0002744/0.1361, allocations: 226.3 kB / 0.4925 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.1362, allocations: 43.44 kB / 0.4926 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.1372, allocations: 0.5526 MB / 0.4931 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1373, allocations: 4 kB / 0.4931 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1373, allocations: 0 / 0.4931 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1373, allocations: 3.984 kB / 0.4931 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.1378, allocations: 429.1 kB / 0.4935 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1378, allocations: 4 kB / 0.4935 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007825/0.1386, allocations: 203.8 kB / 0.4937 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1386, allocations: 0 / 0.4937 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.1387, allocations: 19.92 kB / 0.4938 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/0.1421, allocations: 7.325 MB / 0.5009 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1421, allocations: 0 / 0.5009 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.1428, allocations: 0.5233 MB / 0.5014 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/0.1429, allocations: 128.4 kB / 0.5015 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.143, allocations: 4 kB / 0.5015 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.1432, allocations: 15.98 kB / 0.5016 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.1433, allocations: 27.89 kB / 0.5016 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.1434, allocations: 19.98 kB / 0.5016 GB, free: 4.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003887/0.1438, allocations: 399 kB / 0.502 GB, free: 4.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1438, allocations: 0 / 0.502 GB, free: 4.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.1442, allocations: 127.8 kB / 0.5021 GB, free: 4.07 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.001146/0.1454, allocations: 1.083 MB / 0.5032 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.1468, allocations: 0.5397 MB / 0.5037 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1468, allocations: 0 / 0.5037 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.1478, allocations: 368.1 kB / 0.504 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.1483, allocations: 81.84 kB / 0.5041 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.202/0.3504, allocations: 5.561 MB / 0.5095 GB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3508, allocations: 0.8941 MB / 0.5104 GB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003539/0.3511, allocations: 131.8 kB / 0.5105 GB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3513, allocations: 141.7 kB / 0.5107 GB, free: 39.24 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3513, allocations: 0 / 0.5107 GB, free: 39.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.3791, allocations: 12.53 MB / 0.5229 GB, free: 36.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.3793, allocations: 286.1 kB / 0.5232 GB, free: 35.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.457, allocations: 6.125 kB / 0.5232 GB, free: 35.63 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