Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.001093/0.001093, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 78.58 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003221/0.1408, allocations: 1.799 MB / 482 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1422, allocations: 0.8334 MB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.1423, allocations: 0 / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1426, allocations: 43.75 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1428, allocations: 71.64 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1431, allocations: 83.67 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1433, allocations: 147.4 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.1433, allocations: 13.11 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.1435, allocations: 71.69 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1436, allocations: 71.69 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1437, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.144, allocations: 167.7 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.144, allocations: 39.81 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1441, allocations: 59.67 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1444, allocations: 199.5 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1444, allocations: 0 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1444, allocations: 0 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1444, allocations: 0 / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006335/0.1451, allocations: 450.9 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1451, allocations: 8.031 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.1452, allocations: 46.73 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.1452, allocations: 24.69 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1454, allocations: 200.1 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1455, allocations: 4.375 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1455, allocations: 15.94 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.1458, allocations: 173.5 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1459, allocations: 3.938 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1459, allocations: 0 / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.1459, allocations: 11.98 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.1462, allocations: 171.8 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.147, allocations: 0.4921 MB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.1474, allocations: 154.4 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1475, allocations: 56.81 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1475, allocations: 7.984 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.1476, allocations: 30.56 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1476, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005308/0.1481, allocations: 201.3 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1482, allocations: 55.41 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1483, allocations: 199.5 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1484, allocations: 29.7 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.1484, allocations: 111.9 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1485, allocations: 39.48 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.1485, allocations: 21.72 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1487, allocations: 334.8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1488, allocations: 47.95 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.149, allocations: 78.45 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.1493, allocations: 130.7 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1493, allocations: 4 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003692/0.1496, allocations: 165.3 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1497, allocations: 8 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1497, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1497, allocations: 0 / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.15, allocations: 47.91 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007059/0.1507, allocations: 1.219 MB / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1508, allocations: 15.95 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1509, allocations: 7.938 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.1511, allocations: 138 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.1511, allocations: 19.75 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.1515, allocations: 186.9 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1515, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1516, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1516, allocations: 0 / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.1518, allocations: 229.5 kB / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1518, allocations: 4 kB / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.1521, allocations: 47.97 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1521, allocations: 4 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1521, allocations: 4 kB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006538/0.1528, allocations: 1.215 MB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1528, allocations: 0 / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1531, allocations: 247.5 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.1532, allocations: 96.84 kB / 490.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.1533, allocations: 7.938 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1534, allocations: 7.984 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1534, allocations: 4 kB / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1534, allocations: 4 kB / 490.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1536, allocations: 157.2 kB / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1536, allocations: 0 / 490.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1539, allocations: 47.98 kB / 490.6 MB, free: 10.2 MB / 366.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000753/0.1546, allocations: 0.806 MB / 491.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.1552, allocations: 159.7 kB / 491.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1552, allocations: 4.125 kB / 491.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.1555, allocations: 83.94 kB / 491.7 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1558, allocations: 35.89 kB / 491.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.1584, allocations: 2.14 MB / 493.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1587, allocations: 0.724 MB / 494.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.648e-05/0.1588, allocations: 29.06 kB / 494.6 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.1589, allocations: 39.42 kB / 494.6 MB, free: 6.043 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1589, allocations: 4 kB / 494.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.1815, allocations: 4.583 MB / 499.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.01, allocations: 19.69 kB / 499.3 MB, free: 1.652 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches