Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.001825/0.001825, allocations: 114 kB / 20.43 MB, free: 1.457 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.001865/0.001865, allocations: 214 kB / 23.74 MB, free: 4.672 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2308/0.2308, allocations: 46.92 MB / 360.8 MB, free: 4.281 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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 75.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3533, allocations: 66.08 MB / 0.5608 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003368/0.3567, allocations: 1.906 MB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3581, allocations: 0.8656 MB / 0.5635 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.3582, allocations: 0 / 0.5635 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3584, allocations: 51.67 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3587, allocations: 95.55 kB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.359, allocations: 82.84 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3593, allocations: 258.7 kB / 0.5639 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.019e-05/0.3594, allocations: 10.42 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3596, allocations: 111.5 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3598, allocations: 123.4 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.3598, allocations: 8 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.3601, allocations: 119.8 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.3602, allocations: 67.69 kB / 0.5644 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3603, allocations: 111.2 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.3607, allocations: 294.7 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3607, allocations: 0 / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3607, allocations: 0 / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3607, allocations: 0 / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008477/0.3615, allocations: 0.4934 MB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3616, allocations: 12.03 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.534e-05/0.3617, allocations: 74.66 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.3617, allocations: 32.75 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.362, allocations: 188.9 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.362, allocations: 16.88 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.3621, allocations: 23.94 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.3627, allocations: 380.8 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3627, allocations: 0 / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3627, allocations: 8 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.3628, allocations: 24.64 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.3634, allocations: 382.3 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.3648, allocations: 0.8041 MB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.3653, allocations: 256.6 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.3655, allocations: 100.8 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.3656, allocations: 7.984 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3656, allocations: 30.56 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.3656, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007771/0.3664, allocations: 337.2 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3664, allocations: 55.41 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.3668, allocations: 344.1 kB / 0.5682 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3668, allocations: 29.7 kB / 0.5682 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.367, allocations: 168.2 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.367, allocations: 59.48 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3671, allocations: 57.92 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3673, allocations: 338.8 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3675, allocations: 96.36 kB / 0.5689 GB, free: 11.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.3678, allocations: 188 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.3683, allocations: 313.3 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3683, allocations: 0 / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006274/0.369, allocations: 352.9 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.369, allocations: 10.12 kB / 0.5697 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.369, allocations: 7.984 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.369, allocations: 4 kB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.3696, allocations: 119.9 kB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.3721, allocations: 3.649 MB / 0.5734 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.3723, allocations: 47.66 kB / 0.5735 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3723, allocations: 8 kB / 0.5735 GB, free: 6.879 MB / 414.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.3726, allocations: 183.2 kB / 0.5736 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.3727, allocations: 23.86 kB / 0.5737 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.3734, allocations: 335.3 kB / 0.574 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3734, allocations: 4 kB / 0.574 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3734, allocations: 0 / 0.574 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3734, allocations: 4 kB / 0.574 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.3738, allocations: 268.5 kB / 0.5742 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3738, allocations: 0 / 0.5742 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.3743, allocations: 107.9 kB / 0.5743 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3743, allocations: 0 / 0.5743 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3743, allocations: 8 kB / 0.5744 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.3767, allocations: 3.657 MB / 0.5779 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3767, allocations: 0 / 0.5779 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.3773, allocations: 350.3 kB / 0.5783 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.3774, allocations: 35.78 kB / 0.5783 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.3774, allocations: 7.938 kB / 0.5783 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3776, allocations: 4 kB / 0.5783 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.3777, allocations: 19.97 kB / 0.5783 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3777, allocations: 4 kB / 0.5783 GB, free: 1.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3779, allocations: 247 kB / 0.5786 GB, free: 1.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 0.5786 GB, free: 1.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.3783, allocations: 79.89 kB / 0.5786 GB, free: 1.367 MB / 414.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/0.3794, allocations: 0.9151 MB / 0.5795 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008847/0.3803, allocations: 322.2 kB / 0.5798 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3803, allocations: 0.75 kB / 0.5798 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.3808, allocations: 187.7 kB / 0.58 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3813, allocations: 64.89 kB / 0.5801 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.3858, allocations: 3.385 MB / 0.5834 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3862, allocations: 0.7873 MB / 0.5842 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.3864, allocations: 86.89 kB / 0.5842 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3866, allocations: 71.41 kB / 0.5843 GB, free: 11.36 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3866, allocations: 0 / 0.5843 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.4255, allocations: 8.853 MB / 0.5929 GB, free: 2.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.04, allocations: 6.438 kB / 0.593 GB, free: 2.664 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.19351073517464]