Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.0009698/0.0009698, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001022/0.001022, allocations: 160.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8851/0.8851, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.22/0.22, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.084e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.1627/0.1627, allocations: 1.805 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1639, allocations: 0.9318 MB / 444.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.1639, allocations: 3.469 kB / 444.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1642, allocations: 36 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1644, allocations: 81.12 kB / 445 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1648, allocations: 142.7 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.165, allocations: 221.1 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.165, allocations: 7.875 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1652, allocations: 116.7 kB / 445.5 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1653, allocations: 91.67 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1653, allocations: 8.812 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1655, allocations: 112 kB / 445.7 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.1656, allocations: 63.42 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.1656, allocations: 52.42 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1659, allocations: 260.8 kB / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1659, allocations: 0 / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1659, allocations: 0 / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1659, allocations: 0 / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006475/0.1665, allocations: 471.7 kB / 446.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1666, allocations: 8.906 kB / 446.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1666, allocations: 49.44 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.1668, allocations: 55.55 kB / 446.7 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.167, allocations: 175.6 kB / 446.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.167, allocations: 9.078 kB / 446.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.167, allocations: 11.59 kB / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1673, allocations: 265.2 kB / 447.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1673, allocations: 192 / 447.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1674, allocations: 6.812 kB / 447.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1674, allocations: 18.55 kB / 447.1 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.1677, allocations: 222 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.1683, allocations: 0.7493 MB / 448.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1685, allocations: 190.4 kB / 448.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1686, allocations: 100.7 kB / 448.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1687, allocations: 2.844 kB / 448.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.1687, allocations: 37.59 kB / 448.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1687, allocations: 2.906 kB / 448.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005194/0.1692, allocations: 323.4 kB / 448.7 MB, free: 41.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.1692, allocations: 105.7 kB / 448.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1694, allocations: 261.7 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1694, allocations: 28.58 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.1694, allocations: 138.9 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.1694, allocations: 44.44 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.1695, allocations: 37.25 kB / 449.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.1695, allocations: 335.3 kB / 449.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1696, allocations: 92.89 kB / 449.8 MB, free: 40.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1698, allocations: 134.1 kB / 449.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.1701, allocations: 228.6 kB / 450.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1701, allocations: 0 / 450.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003376/0.1704, allocations: 273 kB / 450.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1704, allocations: 5.281 kB / 450.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1704, allocations: 16.12 kB / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1704, allocations: 2.438 kB / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1706, allocations: 42.05 kB / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1706, allocations: 2.5 kB / 450.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.1707, allocations: 43.34 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1707, allocations: 9.062 kB / 450.5 MB, free: 40.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/0.1707, allocations: 145.4 kB / 450.6 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.1708, allocations: 20.45 kB / 450.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.171, allocations: 216.4 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1711, allocations: 2.844 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1711, allocations: 4 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1711, allocations: 6.234 kB / 450.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1713, allocations: 216.9 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.1713, allocations: 8.688 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.1714, allocations: 27.61 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1714, allocations: 6.844 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1714, allocations: 10.23 kB / 451.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1714, allocations: 0 / 451.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1714, allocations: 0 / 451.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1717, allocations: 490.5 kB / 451.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.1717, allocations: 19.97 kB / 451.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1718, allocations: 4 kB / 451.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1719, allocations: 18.11 kB / 451.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1719, allocations: 16.31 kB / 451.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1719, allocations: 2.625 kB / 451.7 MB, free: 39.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.679e-05/0.172, allocations: 198.9 kB / 451.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.172, allocations: 0 / 451.9 MB, free: 39.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.1723, allocations: 79.48 kB / 452 MB, free: 39.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005901/0.1729, allocations: 1.051 MB / 453 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1733, allocations: 288.7 kB / 453.3 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1733, allocations: 0 / 453.3 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1734, allocations: 179.4 kB / 453.5 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1738, allocations: 52.62 kB / 453.5 MB, free: 38.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.176, allocations: 2.83 MB / 456.4 MB, free: 36.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.1761, allocations: 135.7 kB / 456.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.1761, allocations: 37.59 kB / 456.5 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.1762, allocations: 55.78 kB / 456.6 MB, free: 36.35 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1762, allocations: 0 / 456.6 MB, free: 36.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.1947, allocations: 6.887 MB / 463.5 MB, free: 35.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.071, allocations: 11.06 kB / 463.5 MB, free: 35.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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: 8.994100352749228]