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.001217/0.001216, 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.001347/0.001347, 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.338/1.338, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.1 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 76.28 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1399, allocations: 62.45 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.004261/0.1442, allocations: 2.226 MB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1462, allocations: 0.9464 MB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1463, allocations: 4 kB / 482.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.1467, allocations: 59.66 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.1473, allocations: 135.4 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1475, allocations: 75.8 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006885/0.1482, allocations: 0.6381 MB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1484, allocations: 57.06 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.1488, allocations: 171 kB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1491, allocations: 230.9 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.1491, allocations: 12 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.1495, allocations: 187.7 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1497, allocations: 115.4 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1499, allocations: 190.6 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.1505, allocations: 0.5216 MB / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1505, allocations: 0 / 485 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1505, allocations: 3.984 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1505, allocations: 0 / 485 MB, free: 16 kB / 350.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.001227/0.1518, allocations: 0.7448 MB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1518, allocations: 12.03 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.1519, allocations: 106.7 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.492e-05/0.152, allocations: 52.28 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.1524, allocations: 314.8 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1524, allocations: 36.97 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.1525, allocations: 48 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1536, allocations: 0.7109 MB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1536, allocations: 0 / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.1536, allocations: 20 kB / 487 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.725e-05/0.1537, allocations: 57.27 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.1549, allocations: 0.7466 MB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1571, allocations: 1.438 MB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.1579, allocations: 458.2 kB / 489.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.1582, allocations: 153.2 kB / 489.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.1582, allocations: 16.2 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1583, allocations: 38.8 kB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.1583, allocations: 0 / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001124/0.1594, allocations: 0.5428 MB / 490.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1595, allocations: 55.39 kB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.1601, allocations: 0.5329 MB / 491 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1602, allocations: 33.7 kB / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1603, allocations: 228.5 kB / 491.3 MB, free: 9.496 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.1604, allocations: 102.5 kB / 491.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1606, allocations: 86 kB / 491.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1607, allocations: 358.8 kB / 491.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.161, allocations: 152.5 kB / 491.9 MB, free: 8.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.1614, allocations: 248.3 kB / 492.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.1621, allocations: 443.5 kB / 492.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1621, allocations: 0 / 492.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008785/0.163, allocations: 0.4929 MB / 493.1 MB, free: 7.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.163, allocations: 4 kB / 493.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1631, allocations: 4 kB / 493.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1631, allocations: 4 kB / 493.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.164, allocations: 215.8 kB / 493.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.1684, allocations: 7.314 MB / 0.4889 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.1688, allocations: 59.36 kB / 0.489 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.1688, allocations: 20 kB / 0.489 GB, free: 15.65 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.0003231/0.1691, allocations: 230.2 kB / 0.4892 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.1692, allocations: 47.44 kB / 0.4893 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1703, allocations: 0.5409 MB / 0.4898 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1703, allocations: 4 kB / 0.4898 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1703, allocations: 0 / 0.4898 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1703, allocations: 0 / 0.4898 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.1709, allocations: 441.1 kB / 0.4902 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1709, allocations: 3.938 kB / 0.4902 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.1717, allocations: 195.9 kB / 0.4904 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1718, allocations: 4 kB / 0.4904 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.1718, allocations: 23.92 kB / 0.4904 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.1759, allocations: 7.302 MB / 0.4976 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1759, allocations: 8.25 kB / 0.4976 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.1767, allocations: 0.5114 MB / 0.4981 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1769, allocations: 128.5 kB / 0.4982 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.1769, allocations: 8 kB / 0.4982 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.1772, allocations: 11.98 kB / 0.4982 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.1773, allocations: 27.91 kB / 0.4982 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.1773, allocations: 23.98 kB / 0.4983 GB, free: 5.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004219/0.1777, allocations: 387 kB / 0.4986 GB, free: 5.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1778, allocations: 0 / 0.4986 GB, free: 5.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.1783, allocations: 127.8 kB / 0.4987 GB, free: 5.277 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.001142/0.1794, allocations: 1.083 MB / 0.4998 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.1808, allocations: 0.5201 MB / 0.5003 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1809, allocations: 0 / 0.5003 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1819, allocations: 352 kB / 0.5006 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.1824, allocations: 89.97 kB / 0.5007 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1986/0.381, allocations: 5.504 MB / 0.5061 GB, free: 42.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3815, allocations: 0.8941 MB / 0.507 GB, free: 41.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004671/0.382, allocations: 136.3 kB / 0.5071 GB, free: 41.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.3822, allocations: 139.3 kB / 0.5072 GB, free: 41.39 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3822, allocations: 0 / 0.5072 GB, free: 41.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.4118, allocations: 12.73 MB / 0.5197 GB, free: 38.17 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.412, allocations: 283.6 kB / 0.52 GB, free: 37.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/2.734, allocations: 0 / 0.52 GB, free: 37.79 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