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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002231/0.002231, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.91 MB / 357.4 MB, free: 10.46 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 79.86 kB / 0.4913 GB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1233, allocations: 65.98 MB / 0.5557 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.003732/0.1271, allocations: 2.186 MB / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1289, allocations: 0.9579 MB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.129, allocations: 0 / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1293, allocations: 71.58 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.1298, allocations: 151.3 kB / 0.559 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.13, allocations: 87.7 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.1306, allocations: 489.6 kB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1308, allocations: 45.08 kB / 0.5596 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.1311, allocations: 195 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.1314, allocations: 226.9 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.1314, allocations: 12 kB / 0.56 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.1318, allocations: 187.7 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.1319, allocations: 115.5 kB / 0.5603 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.1321, allocations: 198.6 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.1329, allocations: 0.5327 MB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1329, allocations: 0 / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1329, allocations: 3.938 kB / 0.561 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1329, allocations: 4 kB / 0.561 GB, free: 0.6875 MB / 414.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.001423/0.1343, allocations: 0.7673 MB / 0.5618 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1344, allocations: 12.03 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.1345, allocations: 94.7 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1346, allocations: 56.56 kB / 0.5619 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1351, allocations: 314.8 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.1352, allocations: 33 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.1352, allocations: 47.98 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1364, allocations: 0.707 MB / 0.563 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1364, allocations: 0 / 0.563 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.1365, allocations: 23.98 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.248e-05/0.1365, allocations: 53.28 kB / 0.5631 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1378, allocations: 0.7466 MB / 0.5638 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.14, allocations: 1.439 MB / 0.5652 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.1408, allocations: 444.4 kB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.1411, allocations: 149.2 kB / 0.5658 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.1411, allocations: 12.22 kB / 0.5658 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1411, allocations: 34.8 kB / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.1411, allocations: 0 / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001099/0.1422, allocations: 0.5491 MB / 0.5663 GB, free: 11.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1423, allocations: 55.34 kB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.1429, allocations: 0.5291 MB / 0.5669 GB, free: 10.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.1429, allocations: 29.7 kB / 0.5669 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1431, allocations: 240.6 kB / 0.5672 GB, free: 10.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.1432, allocations: 99.17 kB / 0.5673 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1433, allocations: 82.08 kB / 0.5673 GB, free: 9.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1435, allocations: 370.7 kB / 0.5677 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.1438, allocations: 148.5 kB / 0.5678 GB, free: 9.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.1442, allocations: 252.3 kB / 0.5681 GB, free: 9.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.1449, allocations: 438.8 kB / 0.5685 GB, free: 8.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1449, allocations: 0 / 0.5685 GB, free: 8.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008711/0.1458, allocations: 0.493 MB / 0.569 GB, free: 8.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1458, allocations: 4 kB / 0.569 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1458, allocations: 4 kB / 0.569 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1458, allocations: 4.375 kB / 0.569 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.1468, allocations: 215.8 kB / 0.5692 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.1512, allocations: 7.314 MB / 0.5763 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.1515, allocations: 59.5 kB / 0.5764 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.1515, allocations: 20.28 kB / 0.5764 GB, free: 324 kB / 430.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.000316/0.1519, allocations: 242.2 kB / 0.5766 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.1519, allocations: 47.72 kB / 0.5767 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.153, allocations: 0.5411 MB / 0.5772 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.153, allocations: 4 kB / 0.5772 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.153, allocations: 4 kB / 0.5772 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.153, allocations: 0 / 0.5772 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.1536, allocations: 433.2 kB / 0.5776 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1536, allocations: 3.938 kB / 0.5776 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.1543, allocations: 199.9 kB / 0.5778 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1543, allocations: 0 / 0.5778 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.1544, allocations: 19.92 kB / 0.5779 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.1589, allocations: 7.318 MB / 0.585 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1589, allocations: 4.031 kB / 0.585 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.1597, allocations: 0.5073 MB / 0.5855 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1598, allocations: 124.8 kB / 0.5856 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.1599, allocations: 8.094 kB / 0.5856 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1601, allocations: 15.98 kB / 0.5856 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.1602, allocations: 27.91 kB / 0.5857 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1602, allocations: 15.98 kB / 0.5857 GB, free: 6.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004537/0.1607, allocations: 391 kB / 0.5861 GB, free: 6.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1607, allocations: 0 / 0.5861 GB, free: 6.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.1612, allocations: 131.8 kB / 0.5862 GB, free: 5.934 MB / 446.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.001252/0.1624, allocations: 1.083 MB / 0.5872 GB, free: 4.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.1638, allocations: 0.5196 MB / 0.5877 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1639, allocations: 0.75 kB / 0.5877 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.1648, allocations: 343.6 kB / 0.5881 GB, free: 3.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.1653, allocations: 95.81 kB / 0.5882 GB, free: 3.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.25/0.4153, allocations: 5.253 MB / 0.5933 GB, free: 36.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4157, allocations: 0.8945 MB / 0.5942 GB, free: 35.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003919/0.4161, allocations: 133.9 kB / 0.5943 GB, free: 35.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4163, allocations: 141.8 kB / 0.5944 GB, free: 35.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4163, allocations: 2.719 kB / 0.5944 GB, free: 35.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/0.4614, allocations: 13.62 MB / 0.6077 GB, free: 32.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.81, allocations: 8.656 kB / 0.6077 GB, free: 32.89 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.000201839 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.19102334184572]